zoukankan      html  css  js  c++  java
  • ASP.NET 网站从Sever2003迁移到Sever 2008部署后不能访问

           最近公司运维迁移网站遇到部署后始终不能访问,一直提示无法访问请求的页面,但是请求页面正常,程序没问题,在本地电脑运行正常,运维找了好久没找到原因。

           后来问我,我也找了好久,最后终于解决了。

           解决方法是,把下面这段代码(一般在节点system.webServer 里面)注释掉就可以了,

    <!--<remove name="Session"/>
    <add name="HtmlSession" type="System.Web.SessionState.SessionStateModule"/>
    <validation validateIntegratedModeConfiguration="false"/>-->

  • 相关阅读:
    SpringSecurity开发
    SpringBoot 集成Spring Security
    Hexo
    gitbook使用
    Maze
    Party
    A. DZY Loves Chessboard
    1042B. Vitamins
    Petr and a Combination Lock
    433B.Kuriyama Mirai's Stones
  • 原文地址:https://www.cnblogs.com/sharing1986687846/p/6140465.html
Copyright © 2011-2022 走看看