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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 美国加征34%关税,汽车行业要乱套? 湖人vs独行侠 新一轮找矿行动“挖到宝”了 我国矿种+1 开车时,为啥有的人一减速就开双闪? 陕西福彩回应男子守号7年中833万

      <code id='80a1d'></code><style id='54ad4'></style>
      • <acronym id='bab3b'></acronym>
        <center id='c50d1'><center id='9f05f'><tfoot id='c85c2'></tfoot></center><abbr id='5cf6e'><dir id='495cb'><tfoot id='deb14'></tfoot><noframes id='0c878'>

      • <optgroup id='1e16f'><strike id='24f17'><sup id='90f81'></sup></strike><code id='72b20'></code></optgroup>
          1. <b id='1e319'><label id='2bc0f'><select id='2d6c6'><dt id='40fcd'><span id='7f94d'></span></dt></select></label></b><u id='157c5'></u>
            <i id='80489'><strike id='231bd'><tt id='17d70'><pre id='afe01'></pre></tt></strike></i>