gpt4 book ai didi

asp.net-mvc - ASP.NET MVC 5.1、ASP.NET Web API 2.1 是否需要 IIS 7.5?

转载 作者:行者123 更新时间:2023-12-03 11:00:36 25 4
gpt4 key购买 nike

将项目升级到 WebApi 2.1 和 MVC 5.1 后,在 IIS7 上出现以下错误:

This operation requires IIS version 7.5 or higher running in integrated pipeline mode.

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.PlatformNotSupportedException: This operation requires IIS version 7.5 or higher running in integrated pipeline mode.

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: [PlatformNotSupportedException: This operation requires IIS version 7.5 or higher running in integrated pipeline mode.] System.Web.HttpResponse.get_ClientDisconnectedToken() +3127102
System.Web.HttpResponseWrapper.get_ClientDisconnectedToken() +9
System.Web.Http.WebHost.HttpResponseBaseExtensions.GetClientDisconnectedTokenWhenFixed(HttpResponseBase response) +58
System.Web.Http.WebHost.d__0.MoveNext() +134 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +93
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +52 System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +60
System.Web.HttpTaskAsyncHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +6
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9514812 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

______________________ Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408

最佳答案

这是从 Web API 2 到 2.1 的回归。以下错误正在跟踪此:

https://aspnetwebstack.codeplex.com/workitem/1645

注意 :
该修复程序已于今天 (2/10/2014) 发布。确保更新您的软件包。

关于asp.net-mvc - ASP.NET MVC 5.1、ASP.NET Web API 2.1 是否需要 IIS 7.5?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21313913/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com