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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 暴涨220%!这个清明节假期 "鲜花经济"美丽绽放 美股暴跌 特朗普照常去打高尔夫 裁员50%!房企老板金科股份实控人黄红云被立案调查! 如何评价电视剧《棋士》第 14 集? 家国永念|最好的纪念

      <code id='3a14e'></code><style id='9804a'></style>
      • <acronym id='46293'></acronym>
        <center id='36644'><center id='6a9e3'><tfoot id='50980'></tfoot></center><abbr id='045ee'><dir id='800db'><tfoot id='a6f1d'></tfoot><noframes id='e3d25'>

      • <optgroup id='e5d98'><strike id='445ec'><sup id='85a22'></sup></strike><code id='85a03'></code></optgroup>
          1. <b id='dfd4c'><label id='2ee89'><select id='74f07'><dt id='60847'><span id='d3544'></span></dt></select></label></b><u id='1ee63'></u>
            <i id='88388'><strike id='8d1c6'><tt id='46c0f'><pre id='53544'></pre></tt></strike></i>