加入收藏 | 设为首页 | 会员中心 | 我要投稿 莱芜站长网 (https://www.0634zz.com/)- 云连接、建站、智能边缘云、设备管理、大数据!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net-mvc – 在IIS Express中测试SignalR应用程序

发布时间:2020-09-26 01:04:53 所属栏目:asp.Net 来源:互联网
导读:大家好,我正在使用Visual Studio 2012,并开发了一个简单的应用程序,仅用于审查目的 但是我被困了,因为当我尝试预览应用程序时,我收到以下错误消息 [PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.] System.Web.HttpR

大家好,我正在使用Visual Studio 2012,并开发了一个简单的应用程序,仅用于审查目的

但是我被困了,因为当我尝试预览应用程序时,我收到以下错误消息

[PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.]
   System.Web.HttpResponse.get_Headers() +9681446
   System.Web.HttpResponseWrapper.get_Headers() +9
   Microsoft.Owin.Host.SystemWeb.OwinCallContext.CreateEnvironment() +309
   Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.GetInitialEnvironment(HttpApplication application) +246
   Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.PrepareInitialContext(HttpApplication application) +15
   Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.BeginEvent(Object sender,EventArgs e,AsyncCallback cb,Object extradata) +288
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +285
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously) +155

关于如何解决这个问题的任何想法

解决方法

选择您的Web应用程序项目,在Solution Explorer下面有一个Properties窗口.选择开发服务器> ManagedPipelineMode>集成

(编辑:莱芜站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读