When you deploy new web application in IIS and you may get following error.

HTTP Error 500.22 – Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

First and foremost try you can do is :

Set “Default Web Site” and “Classic .NET AppPool” to your application path and application pool name.

Secondly make sure you need to have Integrated framework to run your application not classic one. Else change your application pool to classic.

  • Control Panel
  • Administrative Tools
  • IIS Manager
  • Click on Application
  • Basic Settings
  • change application pool to classic.


and another thing you can test is your web.config file. it should have





if problem persist just clear IIS cache and restart your IIS.

2 thoughts on “Resolved : HTTP Error 500.22 An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode IIS 7 Windows Server 2008”
  1. Hey I know this is off topic but I was wondering if you
    knew of any widgets I could add to my blog that
    automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience
    with something like this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your
    new updates.

Leave a Reply