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() +9907648
System.Web.ImpersonationContext.get_CurrentThreadTokenExists() +50
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +194
System.Web.PipelineStepManager.ResumeSteps(Exception error) +1106
System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +95
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +193
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.0
uj5u.com熱心網友回復:
.net框架是不是4.0的,升級到4.7感覺是兼容性問題
uj5u.com熱心網友回復:
已經換了好多的報錯,開始是什么都沒有,就是白屏,后來換成了500.19和500.24報錯uj5u.com熱心網友回復:
看上去很像資料庫連接配置的問題uj5u.com熱心網友回復:
你怎么該的?什么代碼都不該,然后錯誤不停在換?
uj5u.com熱心網友回復:
沒有用資料庫啊
uj5u.com熱心網友回復:
改了web.config里面,改完了換了一個報錯,
uj5u.com熱心網友回復:
代碼報錯了,,,檢查下代碼。。。An unhandled exception
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/64992.html
標籤:Web Services
