Run website on IIS7 (Vista) in classic mode

If you run your website on IIS7 you can run into the following HTTP errors: 500.22, 500.23

[code:html]

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

[/code]


If you don't want to change your web.config and still want to run the website on IIS7 you have to change the Application Pool of your Website.

Open IIS, go to your Application Pools, find your Application Pool and double click the Managed PipeLine Mode.

 

Set the Manage Pipeline mode from Integrated to Classic.


Set IIS7 Application Pool Defaults
You can also set the Manage pipeline mode in the Application Pool Defaults. You can do this in IIS7 by clicking on Set Application Pool Defaults.

 

And then change the Managed Pipline Mode to Classic.

 


The other way is changing your web.config to work with IIS7. You can get more information about this by reading this post.

 

5 Replies to “Run website on IIS7 (Vista) in classic mode”

  1. hello Mr.Pieter..

    i have vista ultimate installed(IIS 6.0..it is showing) in my system..i m having problem in running asp .net(Visual Studio 2005)created website[http://localhost:49172/WebSite2/Default.aspx] in IE..it does’nt indicate any error..it is just showing "Internet explorer cannot display the webpage"..i have changed integration to classic[application pool]..but still problem does’nt resolve…Pieter could you please give the solution of this problem with step by step procedure [it’ll be easy for a beginner in asp.net like me to understand]..thanks in advance..please do mail the solution on the given email address.

  2. Could you please give the solution of this problem with step by step procedure [it’ll be easy for a beginner in asp.net like me to understand]..thanks in advance..please do mail the solution on the given email address.

  3. Hi Ankit, if you are running from visual studio you are not using IIS. IIS runs in port 80, your looks like running in port 49172

Leave a Reply

Your email address will not be published. Required fields are marked *