Testing SignalR App in IIS Express

那年仲夏 提交于 2019-12-05 08:10:11

Select your web application project, below Solution Explorer there is a Properties window. Select Development Server > ManagedPipelineMode > Integrated

I couldn't find that option Visual Studio 2012 (Ultimate) either. Changing the Server to IIS Express on Project Properties->Web tab worked for me though.

Edit: Apparently that option becomes available when switching to IIS Express.

If everything else fails, see if your project has a vwd.webinfo file that sets useClassicPipelineMode.
I never looked at this file before. I did just for fun a few days ago and found the following:

<VisualWebDeveloper>
    <iisExpressSettings windowsAuthentication="enabled" anonymousAuthentication="disabled" useClassicPipelineMode="true" sslPort="44300"/>
</VisualWebDeveloper>

I changed the "useClassicPipelineMode" value and my headaches went away!

Your Application Pool is in classic mode but your Application need integrated mode to fire. change it to Integrated Mode:

Open IIS Manager

Application Pool

select pool that your app are run in it

In right panel select Basic Setting

Manage Pipeline Mode change to Integrated

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!