Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Event log permissions while impersonating

Reply
Thread Tools

Event log permissions while impersonating

 
 
spamisuseless1@gmail.com
Guest
Posts: n/a
 
      01-21-2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Problem: "IIS log failed to write entry" in Event Log cherryparadise001@gmail.com ASP General 0 05-26-2006 01:52 AM
My.Log.Writeexception not writing to Application Event Log. =?Utf-8?B?VG9tIFdpbmdlcnQ=?= ASP .Net 0 01-20-2006 06:41 PM
My.Log.WriteException not writing to Event Log with ASP.Net 2.0 Tom Wingert ASP .Net Web Services 0 01-12-2006 06:46 PM
Unable to set permissions on VSWebCache folder error in Event Log. =?Utf-8?B?U3VkaGlyIERhcmJoYQ==?= ASP .Net 0 02-03-2005 03:27 PM
Need help on the Permissions needed to log to Event Log from ASP.NET? Henrik_the_boss ASP .Net 0 11-05-2003 10:14 AM



Advertisments