How to switch IIS Developer Express to “Classic Mode”

前端 未结 3 1381
小蘑菇
小蘑菇 2020-12-16 03:20

I know how to switch to \"Classic Mode\" (from \"Integrated Mode\") in the full IIS via application pool settings. But I can\'t find how to do it in the current IIS Develope

相关标签:
3条回答
  • 2020-12-16 03:42

    Using appcmd is not needed, it is best to change this in the project's settings:

    1. Click on the web project in the solution explorer
    2. Press F4 to get the properties page to show up (not the properties sheet, but the simpler properties window where you set up general things)
    3. Look for 'Managed Pipeline Mode', change this to 'Classic'
    0 讨论(0)
  • 2020-12-16 03:54

    What version of VS are you using? The reason I ask is because tooling support for integrated mode is only supported from VS2010 up. See comment here:

    http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx

    http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe

    http://learn.iis.net/page.aspx/870/use-the-command-line-to-run-a-webmatrix-site-or-application/

    0 讨论(0)
  • 2020-12-16 04:02

    I found the following worked with my copy of the IIS Express beta ...

    appcmd set app /app.name:ExampleApp/ /applicationPool:Clr4ClassicAppPool
    

    Note the forward slash at the end of ExampleApp !

    0 讨论(0)
提交回复
热议问题