Re: Event Log Write access under ASP.NET
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 04/21/05
- Previous message: nbullock: "Re: WMI Date works on XP but not 2000 Server"
- In reply to: Jeremy Lew: "Event Log Write access under ASP.NET"
- Next in thread: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Reply: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 21 Apr 2005 09:28:58 -0700
Hello Jeremy,
is it Windows 2003?
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> 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
- Previous message: nbullock: "Re: WMI Date works on XP but not 2000 Server"
- In reply to: Jeremy Lew: "Event Log Write access under ASP.NET"
- Next in thread: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Reply: Jeremy Lew: "Re: Event Log Write access under ASP.NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|