Is This Content Helpful?
We're glad to know this article was helpful.
Under certain conditions, the ArcGIS .Net ADF impersonation control does not work correctly. The following error occurs while accessing an ArcGIS Server object with a VB.Net application that includes the impersonation control:
"Page_error: Unable to impersonate specified user"
For C# applications, the impersonation control results in a slightly different error message:
"Exception of type System.Web.HttpUnhandledException was thrown."
Microsoft .Net Framework impersonation does not have the necessary permissions on the operating system to function correctly.
This is a known issue with the .Net Framework. See Related Information for more details.
There are two ways to address this issue. Both involve changing permissions to accommodate the use of impersonation within the .Net Framework. This is done either through the .Net Framework itself, or through the Operating System.
Either of these will alleviate the error. Consult with your system administrator to decide which solution is best.
It may also be necessary to make these changes on machines on which the application is deployed.