zoukankan      html  css  js  c++  java
  • 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>

  • 相关阅读:
    grid 布局
    mongoose
    Nestjs 上传文件
    Nestjs 设置静态文件,public
    Centos 为Nginx 搭建https
    react组件
    namecheap 添加二级域名
    electron+react
    遍历文件,读取.wxss文件,在头部添加一条注释
    react 中的绑定事件
  • 原文地址:https://www.cnblogs.com/ChineseMoonGod/p/6750058.html
Copyright © 2011-2022 走看看