RE: Permission denied when writing to eventlog from global.asa
From: Jonas Back (jonasback_at_noway.com)
Date: Fri, 10 Jun 2005 01:33:03 -0700
It's solved! Thank you very much for pointing me to the right direction.
After trying to allow some more SIDs to write to the eventlog
(IWAM_SERVERNAMNE, IUSR_SERVERNAME, LOCALSYSTEM) but still didn't get it to
work I finally realized that I earlier allowed the Anonynous (AN) to write to
but it should have been Built-In Guests (BG):
And then it worked!
So, the solution to allow Domain Users to write to the Event Log and also
Built-In-groups which is used on Session_OnEnd, we now have the following
string and it works perfect!
Thanks again for helping out. Hopefully in the next version of Windows they
will make it easier to administrate rights to the event log.
""WenJun Zhang[msft]"" wrote:
> Maybe this is caused by a known bug. In Seesion_OnEnd, the running
> context could be reverted to process identity - i.e:
> IWAM_<servername> or Local System.
> BUG: Session_OnEnd Changes Security Context of InProcess Component
> Best regards,
> WenJun Zhang
> Microsoft Online Partner Support
> This posting is provided "AS IS" with no warranties, and confers no