ama*_*eur 7 c# asp.net exception
我在日志中看到以下异常的一些条目,并且不知道它发生的原因或位置:
Failed to Execute URL.
at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state)
at System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state)
at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Run Code Online (Sandbox Code Playgroud)
有没有人遇到过这个或者可以对它有所了解?我在IIS7上运行.net 3.5 c#Web应用程序.
小智 4
我刚刚在使用 Windows Identity Foundation 时遇到了这个问题。通过将应用程序池切换为使用集成而不是经典,该问题最终得到解决。当 url 上有尾部斜杠并重定向到登录页面时,它就会失败。在 url 中指定完整页面不会出现错误。
| 归档时间: |
|
| 查看次数: |
8077 次 |
| 最近记录: |