Event Log Write access under ASP.NET
From: Jeremy Lew (jslew_at_hotmail.com)
Date: 04/21/05
- Next message: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Previous message: Miha Pihler [MVP]: "Re: Need Help With Routing Issue"
- Next in thread: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Reply: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Reply: Dominick Baier [DevelopMentor]: "Re: Event Log Write access under ASP.NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 21 Apr 2005 10:34:35 -0400
I'm trying to write to the Windows event log from an ASP.NET application
which is impersonating a local user (through p/invoke LogonUser and .NET
impersionation). Although the user I am impersonating can write
successfully when interactively logged on, I get an Access Denied result
from the interop call to advapi32's RegisterEventSource when impersonating
this same user under ASP.NET. If I make said user member of Administrators,
it works, but I have not been able to figure out what permission or
privilege is necessary for the non-admin to function in this scenario.
Anyone have a guess as to why this may be or what permissions to try?
Thanks,
Jeremy
- Next message: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Previous message: Miha Pihler [MVP]: "Re: Need Help With Routing Issue"
- Next in thread: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Reply: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Reply: Dominick Baier [DevelopMentor]: "Re: Event Log Write access under ASP.NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|