Hi everyone,
I've experienced that log4net doesn't work within the ASP.NET process.
I assured that the user the ASP.NET process is running under had
access to the log4net.dll and had full access to the logging directory but
still it didn't work.
When I turned on internal debugging with the <AppSettings>-tag
and attached to the ASP.NET process I found that the ASP.NET
process wasn't able to load the log4net.dll because I hadn't referenced
it by strong name.
After all the following configuration line did it for me:

<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=1.2.0.30714, Culture=neutral, PublicKeyToken=b32731d11ce58905" />

Now it's working fine.

Greetings, Sven.



Reply via email to