Loading ...

HTTP Error 500.22 - An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. | CodeAsp.Net

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

 /5
0 (0votes)

While working with web.config configuration on parent - child sites, both ASP.NET one I was getting the following error in the parent site:

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

 

Issue:

The issue was because of the following tag " <location path="." inheritInChildApplications="false">" added as a wrapper of "system.webserver" tag:

Solution

The solution was to remove that tag as the wrapper.

If it is not feasible to remove that tag the solution is to comment 

   <!-- <validation validateIntegratedModeConfiguration="false"/> -->

and add it in a new tag like this 

    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>
    <location path="." inheritInChildApplications="false">
        <system.webServer>
            <!-- <validation validateIntegratedModeConfiguration="false"/> -->
            <modules runAllManagedModulesForAllRequests="true">

Comments (no comments yet)

Top Posts