Hi David,

I am using log4net in IIS7 on Server 2008 without any issues.  One thing you
might want to check is that the App pool user has permission to write the
log file.

If your site is www.somesite.com, by default the application pool runs under
a user called "IIS AppPool\www.somesite.com".  The trick is that this user
does NOT show up in the standard file\folder security dialog.  You need to
type it an as above, then click Check Names and it should be recognised.

Failing this you could try Process Monitor to see if there are any failed
writes to the log file due to security.

Cheers,
Alan

On 1 July 2010 12:32, David Walker <david.wal...@planbonline.com> wrote:

>  Hey guys,
>
>
>
> Has anyone had any issues with getting log4net working in an ASP.Net
> project running on Windows Server 2008 (IIS 7). My configuration works on
> both my Windows 7 development machine and another windows server 2003 web
> server. I have cut the config down but still nothing works.
>
>
>
> This is a pretty broad question but I am kind of out of ideas.
>
>
>
> Cheers,
>
>
>
> Dave
>

Reply via email to