impersonating user to use DirectoryEntry
From: mrrrk (noone@xxx.yyy)
Date: 03/27/03
- Next message: Boxman: "Windows Authentication Timeout"
- Previous message: Ramiro Calderon Romero: "Re: Registry Access Problem after Impersonation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "mrrrk" <noone@xxx.yyy> Date: Thu, 27 Mar 2003 10:12:59 -0000
Hi
I'm trying to use
System.DirectoryServices.DirectoryEntry("IIS://LocalHost/W3SVC/#/Root") to
unload an ASP application that occaisionally becomes unstable. When the asp
page fails, it redirects to my aspx page (in another virtual directory)
which is supposed to unload the asp application.
However, ASPNET does not have the access rights to unload the app. I have
tried to impersonate another user but apparently to do this I need to grant
"Act as part of the operating system" to ASPNET, which is apparently a
really bad idea.
Anyone know how I can get around this?
Thanks
- Next message: Boxman: "Windows Authentication Timeout"
- Previous message: Ramiro Calderon Romero: "Re: Registry Access Problem after Impersonation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|