ASP.NET Impersonation

  • Thread starter Thread starter Brandon NewsGroup
  • Start date Start date
B

Brandon NewsGroup

Has anybody had any luck with ASP.NET impersonation when attempting to
set the local ASPNET user account to 'Act as Part of Operating
System'.

I want to impersonate a domain user in a web, and when i add the
<impersonation> tag i receive a message that that the account did have
the necessary rights to create a token... In reading newsgroups I
found that you can set the processmodel of the machine.config to run
as "system" account, which works. I also read that you can give the
aspnet account that priveledge mentioned above, this i cant get this
to work.

If anybody has some sugestions or confirmation that this works I would
appreciate it...or if somebody knows the recomended way to perform
impersonation that would be great also.

Thanks!
 
did you also check that it was set for the IUSR account? did you reboot
after setting the permission? this all you should have to do. upgrading to
XP or server 2003 is also a fix.

-- bruce (sqlwork.com)
 
Back
Top