HTTP错误500.22 检测到在集成的托管管道模式下不适用的ASP.NET设置

时间:2023-03-09 16:22:01
HTTP错误500.22 检测到在集成的托管管道模式下不适用的ASP.NET设置

这里主要把集成模式改成经典模式

HTTP错误500.22 检测到在集成的托管管道模式下不适用的ASP.NET设置

解决方案一:

HTTP错误500.22 检测到在集成的托管管道模式下不适用的ASP.NET设置

解决方案二:

修改配置文件web.config

<configuration>

  <system.web>

    <compilation debug="true" targetFramework="4.5" />

     <httpRuntime targetFramework="4.5" />

<httpModules>

   <add  name="MyModule1" type="iis.UrlReWirte"/>

</httpModules>

</system.web>

</configuration>

修改为

<configuration>

  <system.web>

    <compilation debug="true" targetFramework="4.5" />

     <httpRuntime targetFramework="4.5" />

</system.web>

<system.webServer>

<modules>

      <add  name="MyModule1" type="iis.UrlReWirte"/>

  </modules>

</system.webServer>

</configuration>

转载自:http://blog.csdn.net/yf505261213/article/details/8462559