当前位置: 代码迷 >> ASP.NET >> <customErrors mode="Off"/>呼救!SOS
  详细解决方案

<customErrors mode="Off"/>呼救!SOS

热度:4011   发布时间:2013-02-26 00:00:00.0
<customErrors mode="Off"/>求救!SOS
Runtime   Error  
Description:   An   application   error   occurred   on   the   server.   The   current   custom   error   settings   for   this   application   prevent   the   details   of   the   application   error   from   being   viewed   remotely   (for   security   reasons).   It   could,   however,   be   viewed   by   browsers   running   on   the   local   server   machine.  

Details:   To   enable   the   details   of   this   specific   error   message   to   be   viewable   on   remote   machines,   please   create   a   <customErrors>   tag   within   a   "web.config "   configuration   file   located   in   the   root   directory   of   the   current   web   application.   This   <customErrors>   tag   should   then   have   its   "mode "   attribute   set   to   "Off ".


<!--   Web.Config   Configuration   File   -->

<configuration>
        <system.web>
                <customErrors   mode= "Off "/>
        </system.web>
</configuration>
 

我的网站出现这个错误.可我的WEB.CONFIG文件里面已经设好了:
  <customErrors   mode= "Off "/>
它为什么还出现这个错误呢?我该怎么改呢?SOS!在线等待.

------解决方案--------------------------------------------------------
我的也是这样,我看就是空间商的问题!!!
  相关解决方案