Unhandled Exception: System.Configuration.ConfigurationErrorsException
eating context 'spring.root': The element 'objects' in namespace 'http
ingframework.net' has invalid child element 'objects' in namespace 'ht
pringframework.net'. List of possible elements expected: 'import, alia
in namespace 'http://www.springframework.net' as well as any element
ce '##other'. ---> Spring.Objects.Factory.ObjectDefinitionStoreExcepti
in XML document from config [C:\Documents and Settings\secrétaire\mes
\visual studio 2010\Projects\ImpotV5\ui\bin\Debug\ui.exe.Config#spring
violates the schema. The element 'objects' in namespace 'http://www.s
work.net' has invalid child element 'objects' in namespace 'http://www
mework.net'. List of possible elements expected: 'import, alias, objec
space 'http://www.springframework.net' as well as any element in names
her'. ---> System.Xml.Schema.XmlSchemaValidationException: The element
in namespace 'http://www.springframework.net' has invalid child eleme
s' in namespace 'http://www.springframework.net'. List of possible ele
cted: 'import, alias, object' in namespace 'http://www.springframework
ell as any element in namespace '##other'.
at Spring.Objects.Factory.Xml.XmlObjectDefinitionReader.HandleValid
ct sender, ValidationEventArgs args)
at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(Validat
ndler eventHandler, Object sender, XmlSchemaValidationException e, Xml
pe severity)
at System.Xml.Schema.XmlSchemaValidator.ElementValidationError(XmlQ
me name, ValidationState context, ValidationEventHandler eventHandler,
nder, String sourceUri, Int32 lineNo, Int32 linePos, XmlSchemaSet sche
at System.Xml.Schema.XmlSchemaValidator.ValidateElementContext(XmlQ
me elementName, Boolean& invalidElementInContext)
at System.Xml.Schema.XmlSchemaValidator.ValidateElement(String loca
ing namespaceUri, XmlSchemaInfo schemaInfo, String xsiType, String xsi
g xsiSchemaLocation, String xsiNoNamespaceSchemaLocation)
at System.Xml.XsdValidatingReader.ProcessElementEvent()
at System.Xml.XsdValidatingReader.ProcessReaderEvent()
at System.Xml.XsdValidatingReader.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boo
rveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at Spring.Util.ConfigXmlDocument.Load(XmlReader reader)
at Spring.Objects.Factory.Xml.XmlObjectDefinitionReader.DoLoadObjec
ns(Stream stream, IResource resource)
--- End of inner exception stack trace ---
at Spring.Objects.Factory.Xml.XmlObjectDefinitionReader.DoLoadObjec
ns(Stream stream, IResource resource)
at Spring.Objects.Factory.Xml.XmlObjectDefinitionReader.LoadObjectD
(IResource resource)
at Spring.Objects.Factory.Support.AbstractObjectDefinitionReader.Lo
finitions(String location)
at Spring.Objects.Factory.Support.AbstractObjectDefinitionReader.Lo
finitions(String[] locations)
at Spring.Context.Support.AbstractXmlApplicationContext.LoadObjectD
(XmlObjectDefinitionReader objectDefinitionReader)
at Spring.Context.Support.AbstractXmlApplicationContext.LoadObjectD
(DefaultListableObjectFactory objectFactory)
at Spring.Context.Support.AbstractXmlApplicationContext.RefreshObje
)
at Spring.Context.Support.AbstractApplicationContext.Refresh()
at _dynamic_Spring.Context.Support.XmlApplicationContext..ctor(Obje
at Spring.Reflection.Dynamic.SafeConstructor.Invoke(Object[] argume
at Spring.Context.Support.ContextHandler.RootContextInstantiator.In
tConstructor(ConstructorInfo ctor)
at Spring.Context.Support.ContextHandler.ContextInstantiator.Instan
xt()
at Spring.Context.Support.ContextHandler.InstantiateContext(IApplic
xt parentContext, Object configContext, String contextName, Type conte
olean caseSensitive, String[] resources)
at Spring.Context.Support.ContextHandler.Create(Object parent, Obje
ontext, XmlNode section)
--- End of inner exception stack trace ---
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[
ctionInput input, Boolean isTrusted, FactoryRecord factoryRecord, Sect
sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRec
yRecord, SectionRecord sectionRecord, Object parentResult, Boolean get
an getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive
nfigKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeOb
ean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive
nfigKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeOb
ean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive
nfigKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeOb
ean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String c
at System.Configuration.ClientConfigurationSystem.System.Configurat
al.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sect
at Spring.Util.ConfigurationUtils.GetSection(String sectionName)
at Spring.Context.Support.ContextRegistry.InitializeContextIfNeeded
at Spring.Context.Support.ContextRegistry.GetContext()
at Impotv5.ui.Dialogue2.Main() in C:\Documents and Settings\secréta
cuments\visual studio 2010\Projects\ImpotV5\ui\ui\Dialogue2.cs:line 23
Partager