Event Log Write Access error.
From: bms (bsaribatir_at_fns.com.au)
Date: 05/06/04
- Previous message: microsoft.public.dotnet.framework.aspnet.webcontrols: "ASPNET_SETREG runs on XP, not 2000"
- Next in thread: jzhu: "RE: Event Log Write Access error."
- Reply: jzhu: "RE: Event Log Write Access error."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 5 May 2004 21:51:02 -0700
I have a web service that runs on Win2003 under an Application Pool with user identity. If that user is a member of Administrators group, then the web service can write into Event Log. Othwerwise, I get the following error
System.InvalidOperationException: Cannot open log for source {0}. You may not have write access.
I have seen and read a number of questions in this and other threads. KB Article 329291 does not apply since I already have created the event source (and everything works with Admin group privileges).
Is there a way simple way to get around this without fiddling with the registry entries using SIDs etc.
If using SIDs in the registry is the only way, how can I get the SID for that particular user to enter into the registry?
TIA,
BMS.
- Previous message: microsoft.public.dotnet.framework.aspnet.webcontrols: "ASPNET_SETREG runs on XP, not 2000"
- Next in thread: jzhu: "RE: Event Log Write Access error."
- Reply: jzhu: "RE: Event Log Write Access error."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|