Server Error in '/' Application.

An error occurred while attempting to impersonate.  Execution of this request cannot continue.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: An error occurred while attempting to impersonate.  Execution of this request cannot continue.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): An error occurred while attempting to impersonate.  Execution of this request cannot continue.]
   System.Web.ImpersonationContext.GetCurrentToken() +265
   System.Web.ImpersonationContext.get_CurrentThreadTokenExists() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +282
   System.Web.PipelineStepManager.ResumeSteps(Exception error) +1898
   System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +131
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +487


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0