Impersonation failure

M

MS Newsgroups

Hi,

I am trying to implement Impersonation in ASP .Net, but can not get it to
work. I have copied the sample code
to impersonate a specific user in
http://support.microsoft.com/default.aspx?scid=306158

But when i execute it, i get a exception thrown with the text "Impersonation
Failure". I have given the DOMAIN\ASPNET "Act as part of operating System"
right and added the <identity impersonate="true /> tag in the web.config
file. The website is configured for Anonymous access and is runninmg on IIS6
on Windows Server 2003.

If anyone have some ideas on what might cause this, please let me know

Regards

Niclas
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top