Gives you this error stack:
System.TypeInitializationException: The type initializer for
'Spring.Context.Support.ContextRegistry' threw an exception. --->
Common.Logging.ConfigurationException: Failed obtaining configuration for
Common.Logging from configuration section 'common/logging'. --->
System.Configuration.ConfigurationErrorsException: Configuration system failed
to initialize ---> System.Configuration.ConfigurationErrorsException:
Unrecognized configuration section spring. (c:\users\tjmadden\documents\visual
studio 2015\Projects\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.vshost.exe.Config
line 3)
at
System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean
ignoreLocal)
at
System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors
schemaErrors)
at
System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at
System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- End of inner
exception stack trace ---
at
System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
at
System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String
sectionName)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String
sectionName)
at
System.Configuration.ConfigurationManager.GetSection(String sectionName)
at
Common.Logging.Configuration.DefaultConfigurationReader.GetSection(String
sectionName) in
c:\_oss\common-logging\src\Common.Logging.Portable\Logging\Configuration\DefaultConfigurationReader.cs:line
64
at
Common.Logging.LogManager.<>c__DisplayClass6.b__3()
in c:\_oss\common-logging\src\Common.Logging.Portable\Logging\LogManager.cs:line
472
at
Common.Logging.Configuration.ArgUtils.<>c__DisplayClass5.b__4()
in
c:\_oss\common-logging\src\Common.Logging.Portable\Logging\Configuration\ArgUtils.cs:line
292
at
Common.Logging.Configuration.ArgUtils.Guard[T](Function`1 function, String
messageFormat, Object[] args) in
c:\_oss\common-logging\src\Common.Logging.Portable\Logging\Configuration\ArgUtils.cs:line
318
--- End of inner
exception stack trace ---
at
Common.Logging.Configuration.ArgUtils.Guard[T](Function`1 function, String
messageFormat, Object[] args) in
c:\_oss\common-logging\src\Common.Logging.Portable\Logging\Configuration\ArgUtils.cs:line
330
at
Common.Logging.Configuration.ArgUtils.Guard(Action action, String messageFormat,
Object[] args) in
c:\_oss\common-logging\src\Common.Logging.Portable\Logging\Configuration\ArgUtils.cs:line
290
at
Common.Logging.LogManager.BuildLoggerFactoryAdapter() in
c:\_oss\common-logging\src\Common.Logging.Portable\Logging\LogManager.cs:line
470
at
Common.Logging.LogManager.get_Adapter() in
c:\_oss\common-logging\src\Common.Logging.Portable\Logging\LogManager.cs:line
203
at
Common.Logging.LogManager.GetLogger(Type type) in
c:\_oss\common-logging\src\Common.Logging.Portable\Logging\LogManager.cs:line
422
at
Spring.Context.Support.ContextRegistry..cctor() in
c:\_prj\spring-net\src\Spring\Spring.Core\Context\Support\ContextRegistry.cs:line
58
--- End of inner
exception stack trace ---
at
Spring.Context.Support.ContextRegistry.GetContext()
at
ConsoleApplication1.Program.Main(String[] args) in
c:\users\tjmadden\documents\visual studio
2015\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs:line 19
No comments:
Post a Comment