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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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-3遭逆转 见招拆招!逾30家A股上市公司回应美国关税 泰山会制服每一对嘴硬的情侣

      <code id='f4b94'></code><style id='fe29d'></style>
      • <acronym id='731ee'></acronym>
        <center id='ada64'><center id='683dd'><tfoot id='55155'></tfoot></center><abbr id='f98a9'><dir id='665b1'><tfoot id='e590b'></tfoot><noframes id='54679'>

      • <optgroup id='8d769'><strike id='fd42b'><sup id='6a65e'></sup></strike><code id='1c78e'></code></optgroup>
          1. <b id='e5066'><label id='5c5a7'><select id='b9241'><dt id='e5ae6'><span id='51159'></span></dt></select></label></b><u id='3af7e'></u>
            <i id='c6e38'><strike id='7c019'><tt id='d33ef'><pre id='5b94a'></pre></tt></strike></i>