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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 超2亿人过敏之痛:困在缺药缺人,更困在诊疗理念滞后 小偷冒充户主找锁匠开门偷钱,法院:锁匠承担60%的补充责任 德布劳内自宣离队,结束 10 年曼城球员生涯,如何评价他在曼城的职业生涯? AI玩具市场洞察报告:产品经理如何掘金千亿智能玩具新蓝海? 国泰海通证券!新任高管名单!少壮派上位!

      <code id='ed0b2'></code><style id='eeabc'></style>
      • <acronym id='0bae9'></acronym>
        <center id='6f8ad'><center id='9b65c'><tfoot id='20115'></tfoot></center><abbr id='1bb1c'><dir id='9aa87'><tfoot id='a831a'></tfoot><noframes id='73c8c'>

      • <optgroup id='219bd'><strike id='066ce'><sup id='aae89'></sup></strike><code id='cdc0c'></code></optgroup>
          1. <b id='b5e67'><label id='15196'><select id='2446f'><dt id='a6092'><span id='1547f'></span></dt></select></label></b><u id='a2854'></u>
            <i id='7784a'><strike id='d25e2'><tt id='d0029'><pre id='c8eb2'></pre></tt></strike></i>