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