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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 近十年,重庆师范大学三万多名毕业生投身西部建设 美国加关税还想要鸡蛋?多国回复:不给! 中新网评:仰望星空,我们心中都有一个“玉盘” 免费办理不再需要户口本 5月10日起婚姻登记手续简化了 经济日报头版:经济全球化是人类社会发展必经之路

      <code id='5c8f0'></code><style id='7a68f'></style>
      • <acronym id='d0a1b'></acronym>
        <center id='2f848'><center id='6796f'><tfoot id='98cab'></tfoot></center><abbr id='512bb'><dir id='fc28c'><tfoot id='2fa39'></tfoot><noframes id='f7955'>

      • <optgroup id='edbec'><strike id='83eb9'><sup id='7a0b3'></sup></strike><code id='c2144'></code></optgroup>
          1. <b id='feefe'><label id='88e76'><select id='1ba38'><dt id='7360e'><span id='5a6a9'></span></dt></select></label></b><u id='25c18'></u>
            <i id='b2d2c'><strike id='747f1'><tt id='3ad68'><pre id='219c1'></pre></tt></strike></i>