The Old "Access Denied when using Impersonation" Problem

A

ahusain

I'm trying to use impersonation with my asp.net application but once I
added the <identity impersonate="true"/> line, my application would
give me:

Exception Details: System.ApplicationException: Access is denied.

If I add my username/password to the identity tag (my account is under
the Administrator and Debugger Users groups) I get the following:

Could not create Windows user token from the credentials specified in
the config file. Error from the operating system 'A required privilege
is not held by the client. '

I'm pretty sure it's not a username/password typo problem on my part,
so I'm unsure of why my account would not hold the proper
privileges....unless I'm missing something here.

I am using Windows authentication (set in the web config) and have set
anonymous access off and Integrated Windows Authentication on in the
IIS control panel.

Any help would be appreciated.
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top