ASP.NET Impersonation

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!
 
B

bruce barker

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top