By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 921 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

The Old "Access Denied when using Impersonation" Problem

P: n/a
I'm trying to use impersonation with my 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.
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.