Check your web.config or app.config, make sure that
So it should be like this:
<configuration>
<configSections>
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
</configSections>
<appSettings>
<add key="ConfigXMLPath" value="D:\Config.xml" />
</appSettings>
...
</configuration>
Example of configuration that will throw the error:
<configuration>
<appSettings>
<add key="ConfigXMLPath" value="D:\Config.xml" />
</appSettings>
<configSections>
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
</configSections>
...
</configuration>
No comments:
Post a Comment