“/”应用程序中的服务器错误。

运行时错误

说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个 <customErrors> 标记。然后应将此 <customErrors> 标记的“mode”属性设置为“Off”。


<!-- Web.Config 配置文件 -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

注释: 通过修改应用程序的 <customErrors> 配置标记的“defaultRedirect”属性,使之指向自定义错误页的 URL,可以用自定义错误页替换所看到的当前错误页。


<!-- Web.Config 配置文件 -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

百度 搜狗 360搜索 20 岁中国女生留学第 9 天跳楼身亡,遭恐吓深陷骗局不堪压力,留学生在海外要提高哪些防骗意识? 疫情以来最大单日损失!全球最富500人周五财富蒸发3290亿美元 羊奶粉连锁店暴雷 有人2万多还没花 上海等地惊现"火球" 怎么让不懂数学的人体会到抽象代数的魅力?

      <code id='6759e'></code><style id='8c404'></style>
      • <acronym id='47849'></acronym>
        <center id='3b9af'><center id='0fafd'><tfoot id='e2083'></tfoot></center><abbr id='6e320'><dir id='d771e'><tfoot id='a0eb6'></tfoot><noframes id='25853'>

      • <optgroup id='c4ff5'><strike id='6b4e5'><sup id='33242'></sup></strike><code id='8704e'></code></optgroup>
          1. <b id='1130a'><label id='693ab'><select id='beb62'><dt id='2770f'><span id='4938f'></span></dt></select></label></b><u id='f5058'></u>
            <i id='01434'><strike id='b01e4'><tt id='21f81'><pre id='6cc44'></pre></tt></strike></i>