在VS2013中强制IIS Express应用程序池使用经典模式

度娘不给力啊,找了半天全是一样没用的东西,最后找谷哥,还是哥给力终于找到了。

option-1: In Visual Studio goto WebSite/WebApplication properties and change ManagedPipelineMode to 'Classic'.

option-2: Open %userprofile%\documents\iisexpress\config\applicationhost.config and locate your site in "Sites" section and change the app pool to classic (say Clr4ClassicAppPool).

If you want all the WebApplications/WebSites that you are going to create in Visual Studio to run in 'Classic' mode (by default), then in %userprofile%\documents\iisexpress\config\applicationhost.config file change the applicationDefaults app pool as shown below.

<sites>
 ........
 ........
    <applicationDefaults applicationPool="Clr4ClassicAppPool" />
    <virtualDirectoryDefaults allowSubDirConfig="true" />
</sites>
阅读更多
个人分类: .Net
上一篇bootstrap模态对话框宽度设置
下一篇根据开发语言或习惯 Visual Studio 设置默认环境
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭