1

尝试在 UltiDev(版本 2.0.20)或 CassiniDev4 服务器中运行我的网站时出现此错误。

This operation requires IIS integrated pipeline mode.
at System.Web.HttpResponse.get_Headers() 
at Microsoft.Owin.Host.SystemWeb.CallHeaders.AspNetResponseHeaders..ctor(HttpResponseBase response) 
at Microsoft.Owin.Host.SystemWeb.OwinCallContext.CreateEnvironment() 
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.GetInitialEnvironment(HttpApplication application) 
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.PrepareInitialContext(HttpApplication application) 
at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.BeginEvent(Object sender, EventArgs e, AsyncCallback cb, Object extradata) 
at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

这是类似的相关(未解决)问题:Testing SignalR App in IIS Express

有没有办法确定这个问题涉及哪些标头?

4

1 回答 1

0

使用 ASP.NET Core,这不再是问题,因为我不需要使用 UltiDev 或 CassiniDev4。

于 2016-02-16T22:41:53.403 回答