Sep

29

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

Posted by Leave a Comment

You may sometimes receive the below error if adding a new library to an existing project. It is also a common error when running older applications originally built for IIS 6 on newer versions of IIS.

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

Luckily there are a couple of easy solutions to fixing this error:

Solution 1

The first thing you can try is to run the Application Pool in Classic Mode. IIS6 did not have Integrated mode so running older applications in that mode will sometimes cause problems.

IIS App Pool Settings

Solution 2

The other solution you can try is to make sure validateIntegratedModeConfigurationis set to false in your web.config:

<configuration>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>
</configuration>

Have another solution? Let us know in the comments below.

Category: .NET, Development, IIS, Web Development

Leave a Reply