1
嘗試在UltiDev(2.0.20版)或CassiniDev4服務器中運行我的網站時出現此錯誤。OWIN託管網站的SignalR?
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。
有沒有什麼辦法可以確定哪些頭文件涉及到這個問題?
使用IIS Express代替UltiDev還是\t CassiniDev?如果是這樣,你鏈接的問題有你的答案。我相信Microsoft.Owin.Host.SystemWeb軟件包需要在UltiDev或CassiniDev不支持的IIS集成管道模式下運行。 – halter73