尝试在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。
有没有办法确定此问题涉及哪些标头?
答案 0 :(得分:0)
使用ASP.NET Core,这不再是一个问题,因为我不需要使用UltiDev或CassiniDev4。