Event log permissions while impersonating

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top