简体   繁体   中英

SignalR in OWIN hosted site?

I get this error when trying to run my web site in UltiDev (version 2.0.20) or in a CassiniDev4 server.

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)

Here is similar related (unsolved) question: Testing SignalR App in IIS Express .

Is there any way to determine which headers are involved in this problem?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM