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

运行时错误

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

详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 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搜索 夏日一周穿搭不重样 解读|奥运会乒乓球金牌增至6枚,中国队金牌+1难点在哪 信心从何而来|5家中国企业的关税战应对:观望,寻路,不悲观 美国股债汇三杀,纳指跌超4% 一家3口被撞身亡案:凶手2次加速

      <code id='a4a5d'></code><style id='bf022'></style>
      • <acronym id='168ce'></acronym>
        <center id='075af'><center id='49d59'><tfoot id='abeab'></tfoot></center><abbr id='ff93c'><dir id='c871d'><tfoot id='0663c'></tfoot><noframes id='88234'>

      • <optgroup id='5a919'><strike id='58064'><sup id='8a16d'></sup></strike><code id='3fff5'></code></optgroup>
          1. <b id='2ae5a'><label id='15800'><select id='bd77b'><dt id='6d6fe'><span id='131d0'></span></dt></select></label></b><u id='7b9fc'></u>
            <i id='4ac67'><strike id='5b3ef'><tt id='6fa80'><pre id='9e05a'></pre></tt></strike></i>