章节目录 第305章 番外31:怎么回事!怎么回事!

    /11500intealservererror

    date:wed,sep201607:56:38gmt

    server:microsoftiis/60

    cachecontrol:maxage=3601

    xpoweredby:asp

    xaspversion:2050727

    cachecontrol:private

    contenttype:text/html;charset=utf8

    contentlength:2916

    xvia:11dxxz187:0

    connection:close

    <html>

    <head>

    <title>运行时错误</title>

    </head>

    <bodybgcolor="white

    <h1>“/aspxnovel”应用程序中的服务器错误。<hrwidth=100%size=1color=silver></h1>

    <h2>运行时错误</h2>

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

    详细信息:若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前web应用程序根目录下的“webconfig”配置文件中创建一个<customerrors>标记。然后应将此<customerrors>标记的“mode”属性设置为“off”。

    <code>

    <configuration>

    <>

    <customerrorsmode=”off”/>

    </>

    </configuration></pre></code>

    注释:通过修改应用程序的<customerrors>配置标记的“defaultredirect”属性,使之指向自定义错误页的url,可以用自定义错误页替换所看到的当前错误页。

    <code>

    <configuration>

    <>

    <customerrorsmode=”remoteonly”defaultredirect=””/>

    </>

    </configuration></pre></code>

    </body>

    </html>

    ...

←可使用左右快捷键翻页→