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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 女子称深夜住酒店被敲门怪叫惊醒 海归潜伏核心要害部门被抓 现场曝光 深夜重磅:特朗普推迟多国关税90天,却对我方加码至125% 美“关税讹诈”拖累亚洲经济 再这么错下去,中产被吃干抹净是迟早的事

      <code id='ad159'></code><style id='7729e'></style>
      • <acronym id='fd3b1'></acronym>
        <center id='e5185'><center id='78983'><tfoot id='8f012'></tfoot></center><abbr id='966be'><dir id='2045b'><tfoot id='e5e20'></tfoot><noframes id='a43ac'>

      • <optgroup id='8a021'><strike id='d41f1'><sup id='71967'></sup></strike><code id='73c59'></code></optgroup>
          1. <b id='e387e'><label id='a3465'><select id='35a78'><dt id='ce759'><span id='6fb9a'></span></dt></select></label></b><u id='4cc82'></u>
            <i id='7b72b'><strike id='f98c3'><tt id='be2b0'><pre id='05b8f'></pre></tt></strike></i>