Event log permissions while impersonating
Hi,
I'm trying to write to the event log while in
WindowsIdentity.Impersonate code segment.
I get this exception:
"A first chance exception of type 'System.InvalidOperationException'
occurred in system.dll
Additional information: Cannot open log for source {0}. You may not
have write access."
It is a Asp.Net 1.1 application configured with <identity
impersonate="false" /> and anonymous access only in the IIS.
The service account is granted TCB (Act as part of OS) privilege.
The event source was created manually in the registry.
Running ProcMon.exe (sysinternals) reveals no access denied events.
Any ideas what are the permissions required to write events to the
event log?
Thanks,
Yossi
.
Relevant Pages
- redirector service?
... I noticed a few problem in my application event log, ... Event Type: Error ... Event Source: Perflib ... see Help and Support Center at ... (microsoft.public.windowsxp.help_and_support) - Re: Performance Data Open error on ASP.Net /SBS2000
... filling up the Application Event Log with bursts of entries several times ... Event Type: Error ... Performance data for this service will not be available. ... Event Source: SQLSERVERAGENT ... (microsoft.public.windows.server.sbs) - Re: Server Application Error
... > Event Source: W3SVC ... was 'The server process could not be started because the configured identity ... Microsoft Online Support site located at: ... >> Please look in the Windows Event Log. ... (microsoft.public.inetserver.iis) - Re: Error : "Event ID: 1000 Source: Userenv"
... My reply is at the bottom of your sent message: ... > In my event log I found below error. ... > Event Type: Error ... > Event Source: Userenv ... (microsoft.public.win2000.general) - XP SP1 Deployment via Group Policy
... When trying to update a Windows XP Pro workstation with SP1 using update.msi ... through group policy I get the following errors in the workstation ... application event log; ... Event Source: Application Management ... (microsoft.public.windowsxp.security_admin) |
|