CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
IBM Rational 系统开发最佳实践工具包 WebSphere MQ 最佳实践 TOP 15
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  .NET技术 >  ASP.NET

为什么老是提示 Runtime Error 错误???

楼主chinamat(三套车)2006-03-04 19:40:22 在 .NET技术 / ASP.NET 提问

急急急!!!  
  一个应用程序发布到服务器上之后,浏览该网页总是提示如下信息(在编程的那台机器上是正常的):  
   
  Server   Error   in   '/fcsystem'   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>  
     
  问题点数:20、回复次数:5Top

1 楼net_lover(【孟子E章】)回复于 2006-03-04 19:45:55 得分 0

这样的提示看不出什么错误,将你的web.config设置为  
  <configuration>  
          <system.web>  
                  <customErrors   mode="Off"/>  
          </system.web>  
  </configuration>  
   
  即可看到具体的错误位置Top

2 楼chinamat(三套车)回复于 2006-03-04 20:24:20 得分 0

设成   off   了,可是还是不能看到具体错误。Top

3 楼ofei(nop)回复于 2006-03-04 20:51:08 得分 0

未创建虚拟目录吧?Top

4 楼youyuan1980(水云间)回复于 2006-03-04 21:10:21 得分 0

我的也是,我今天刚上传的。也出现了这个情况。Top

5 楼chinamat(三套车)回复于 2006-03-05 14:13:32 得分 0

有创建虚拟目录呀Top

相关问题

  • ADO连接SQL服务器失败:Runtime Error!错误提示( 救命啊~~ )
  • AfxMessageBox("This is a error!");提示有错误!
  • runtime error 70 Permission Denied 错误
  • 错误提示!
  • 错误提示
  • 错误提示信息:Bad runtime function reference 的详细意思是什么?
  • 安装.net frame 时总是出现“asm.reg:common language runtime”错误提示框
  • Runtime error 105 这是什么错误?
  • 紧急求救:MDAC错误:8007007f runtime error!!!
  • runtime error 通常是什么错误?

关键词

  • tag
  • application
  • server
  • 错误
  • 提示
  • error
  • details
  • current
  • custom
  • page

得分解答快速导航

  • 帖主:chinamat

相关链接

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

广告也精彩

反馈

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