|
Error Code |
Message |
| 100 |
Expected file "StructureMap.config" cannot be found at {0} |
| The
StructureMap.config file either cannot be found in the correct location, loaded
into an XmlDocument, or is locked by the file system. The config file
should be in the ApplicationBase directory. |
| 101 |
Assembly {0} referenced by an <Assembly> node in
StructureMap.config cannot be loaded into the current AppDomain |
| The
referenced assembly is not accessible to the AppDomain. Usually the
assembly name in the config file is incorrect. The assembly DLL could
also be missing. This can happen frequently in builds when an assembly of
plugins is not referenced directly from the executing binary. |
| 102 |
Assembly {0} referenced in a <PluginFamily> node for PluginType
"{1}" in StructureMap.config cannot be loaded into the current AppDomain |
| See
Error Code 101. The assembly name in the config may be incorrect or have
been changed. |
| 103 |
Type "{0}" referenced in a <PluginFamily> node in StructureMap.config
cannot be loaded from Assembly {1} |
| The
PluginType referenced by a PluginFamily node cannot be loaded from the
designated assembly. The type name should be the fully qualified name of
the type. The assembly attribute is the assembly name, not the namespace. |
| 104 |
Concrete Type {0} cannot be plugged into type {1} |
| An
explicitly defined Plugin is not valid withing the PluginFamily |
| 110 |
Assembly referenced by a <Plugin> for PluginType "{0}",
concrete type "{1}" node in StructureMap.config cannot be loaded into the
current AppDomainAssembly. |
| See
Error Code 101. |
| 111 |
Type referenced in a
for PluginType "{0}", concrete type "{1}" cannot be loaded from
named assembly |
| See
Error Code 103 |
| 112 |
Missing a mandatory "ConcreteKey" attribute in a
node for PluginType "{0}" |
| The
ConcreteKey attribute is missing on a <Plugin> node. |
| 113 |
Duplicate ConcreteKey ({0}) values in PluginType "{1}" |
| The
ConcreteKey must be unique within a PluginFamily. The dupication may be
from a Pluggable attribute or an explicitly configured <Plugin> node in
the config file. |
| 114 |
Type {0} specified as a Plugin cannot be plugged into Type {1} |
| A
class configured as an explicit <Plugin> to to a <PluginFamily>
cannot be cast to the PluginType. |
| 120 |
Could not build the configured MementoSource for PluginFamily {0} |
| Check
the configuration of the <Source> node in the <PluginFamily> node
for this type. StructureMap was not able to create the configured
MementoSource instance |
| 121 |
Could not build the configured InstanceFactoryInterceptor for PluginFamily {0} |
| Check
the configuration of the <Interceptors> node in the <PluginFamily>
node for this type. StructureMap was not able to create the configured
InstanceFactoryInterceptor instances. Make sure to read the inner
StructureMapException. |
| 200 |
Could not find an InstanceMemento for the requested InstanceKey "{0}" of
PluginFamily {1} |
| The
requested InstanceMemento cannot be found by the configured MementoSource for
the PluginFamily. |
| 201 |
Unrecognized ConcreteKey "{0}" configured for InstanceKey "{1}" of PluginFamily
{2} |
| The
concrete type defined in the memento source for the instance is not valid for
the PluginFamily. The concrete key should match either a Pluggable
attribute name of a valid plugin, or the concrete key of an explicitly defined
Plugin in the StructureMap.config file. Also verify that the correct
assemblies are referenced in the StructureMap.config file. |
| 202 |
No Default Instance defined for PluginFamily {0} |
| In
order to retrieve an instance by calling ObjectFactory.GetInstance(type), the
default key must be set for the PluginFamily. This can be done in one of
three ways, mark the default key on a [PluginFamily] attribute on the plugin
type, set the DefaultKey attribute on a <PluginFamily> node in the config
file, or set the default instance on ObjectFactory at runtime prior to calling
into GetInstance for the desired type. |
| 203 |
Internal exception in MementoSource creating an InstanceMemento for InstanceKey
"{0}" |
| See
the internal exception. |
| 204 |
Internal exception in InstanceMemento "{0}" |
| See
the internal exception |
| 205 |
Missing requested InstanceMemento property "{0}" for InstanceKey "{1}" |
| The
property is not defined in the configuration. Check that a constructor
argument was not renamed. The property is case-sensitive. |
| 206 |
Invalid property value(s), InstanceKey "{0}" |
| Typically
caused by a InvalidCastException converting the string attribute returned from
the InstanceMemento into the strongly typed constructor parameter |
| 207 |
Internal exception in the constructor function of the targeted concrete type.
InstanceKey "{0}", PluginFamily {1} |
| Check
the inner exception chain. |
| 208 |
Requested type {0} is not configured in StructureMap |
| A
call was made to ObjectFactory to fetch an instance of a type not recognized by
StructureMap. This can also occur when a parameter type of a requested
instance is not recognized by StructureMap. In order for StructureMap to
be able to construct configurations of a concrete class, all types in the
constructor function must be configured under StructureMap. |
| 220 |
Cannot "Stub" type {0} with an object of type {1} |
| A
call was made to ObjectFactory.InjectStub(Type, object) with a value that
cannot be cast to the PluginType. |
| 230 |
Cannot call "FillDependencies" on an abstract or interface type. |
| ObjectFactory.FillDependencies(Type)
can only work on concrete types with non-primitive dependencies |
| 231 |
Primitive Type arguments in the constructor! |
| ObjectFactory.FillDependencies(Type)
can only work on concrete types with non-primitive dependencies |
| 240 |
Property {0} does not exist on the PluggedType {1} |
| The
property could not be found on the PluggedType. Check the explicit
<Plugin> node for the PluggedType. Only public properties can be
configured as a SetterProperty. |
| 241 |
Property {0} on PluggedType {1} is not writeable! |
| The
property is readonly. Either remove the [SetterProperty] or add a setter
method. |