CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  .NET技术 >  ASP.NET

Runtime Error 错误是什么原因造成的,请指点一下,谢谢

楼主yyx770508(娶了老婆的和尚)2004-09-03 11:46:14 在 .NET技术 / ASP.NET 提问

我的asp.net系统,有时会发生Runtime   Error   错误,具体错误信息如下:  
   
  Server   Error   in   '/ysptnew'   Application.  
  --------------------------------------------------------------------------------  
   
  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>  
     
   
  Notes:   The   current   error   page   you   are   seeing   can   be   replaced   by   a   custom   error   page   by   modifying   the   "defaultRedirect"   attribute   of   the   application's   <customErrors>   configuration   tag   to   point   to   a   custom   error   page   URL.  
   
   
  <!--   Web.Config   Configuration   File   -->  
   
  <configuration>  
          <system.web>  
                  <customErrors   mode="RemoteOnly"   defaultRedirect="mycustompage.htm"/>  
          </system.web>  
  </configuration>  
     
  请各位给指点一下,我的web服务器也是永不超时呀 问题点数:50、回复次数:3Top

1 楼luckysusan(海闊天空)回复于 2004-09-03 11:51:16 得分 30

把mode设置为Off  
  这样就可以看到具体错误提示了  
   
  <configuration>  
          <system.web>  
                  <customErrors   mode="Off"/>  
          </system.web>  
  </configuration>Top

2 楼outspaceman(狮子洋)回复于 2004-09-03 12:57:37 得分 10

是啊,然后把错误再报上来看看Top

3 楼tnt8csdn2000(琥珀雨田)回复于 2004-09-03 13:07:27 得分 10

.net要是能把它的自定义错误页面搞得好看点就好了。这样子看起来很恐怖。Top

相关问题

  • 小错误,请指点!!!急!!!
  • fastreport3.15控件预览时有时候出现接口错误,请高手指点是什么原因造成?
  • corba错误,请高手指点!!!
  • 一个错误,请大侠指点
  • 简单错误?请指点!谢谢!!
  • sql语句错误,请大家指点。
  • 2000下错误……高手指点!!!
  • 请指点这个连接的错误.
  • jspsmartupload使用错误!请指点!
  • 编译错误请高手指点

关键词

  • runtime
  • tag
  • application
  • server
  • 错误
  • error
  • details
  • current
  • custom
  • page

得分解答快速导航

  • 帖主:yyx770508
  • luckysusan
  • outspaceman
  • tnt8csdn2000

相关链接

  • CSDN .NET频道
  • .NET类图书
  • C#类图书
  • .NET类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo