Tuesday, 4 December 2007

log4net exception: System.Configuration.ConfigurationRecord.Evaluate

A new error has appeared, when making an application, which uses my proxy.

at System.Configuration.ConfigurationRecord.Evaluate(String configKey)
at System.Configuration.ConfigurationRecord.ResolveConfig(String configKey)
at System.Configuration.ConfigurationRecord.GetConfig(String configKey)
at System.Configuration.DefaultConfigurationSystem.System.Configuration.IConfigurationSystem.GetConfig(String configKey)
at System.Configuration.ConfigurationSettings.GetConfig(String sectionName)
at log4net.Config.XmlConfigurator.Configure(ILoggerRepository repository)
at log4net.Config.XmlConfigurator.Configure()
at DHE.IdhSession..ctor() in C:\DHE5\dev\client\net_client\DHEproxy\DHE.CommonInfo\IdhSession.vb:line 1027
2007/12/04 15:25:16.572 2912/5068 err 0 | init*start main DHE shared object: dhe
_process 0x0
2007/12/04 15:25:16.572 2912/5068 err 0 | gs_k_init*start main DHE shared object
: dhe_process 0x0

Which funny enough appeared because of a spelling error inside the App.config. Another reason for reading the exception messages... (evaluation error blink blink)

The problem is that its not always completely clear, when VS.NET sees it fit the override the config file in the bin dir, with the one you just corrected.