Hi all - I thought I'd share my experiences when using log4net in an ASP.NET application on IIS 6.0
When using any of the file appenders from an ASP.NET IIS 6.0 will prevent the ASP.NET application from writing to the log file unless the process driving the application has write access to the directory in question. On WinXP / IIS 5.x it is usually enough to simply allow the user running the ASP.NET work process to have write access to the directory. On IIS 6.0 this does not work. You need to give the write access to the process running the Application Pool of the ASP.NET - this is usually the "NETWORK SERVICE" process. You can see the process name under the properties tab for the application pool. Maybe this is a good candidate for a FAQ. Thanks for a nice logging framework. Cheers Thomas
