• 全部
  • .NET Framework
  • ASP
  • Web Services
  • .NET互联网桌面应用
  • VB
  • 图表区
  • 分析与设计
  • 组件/控件开发
  • AppLauncher
  • 问答

求助 提交数据的时候出错

xin211 2004-11-03 06:36:04
我在整理以前同时的一个程序,可是我一提交数据就出现这样的页面,请问应该怎么解决。


Server Error in '/v2web' 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>

...全文
41 点赞 收藏 4
写回复
4 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
xzq686 2004-11-03
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
让你在web.config中加入上面的东东。
还说已经把你的这个页面做成了默认的出错页面。
照办试试。
回复
BearRui 2004-11-03
意思应该就是让你设置web.config,

设置其中的customErrors节点的mode属性为off吧
<customErrors mode="Off"/>
回复
Overriding 2004-11-03
你但不跟踪一下就知道了,这种错误提示信息没用!
设置断点,F11 !
回复
xin211 2004-11-03
怎么没有人回复呢。
回复
发帖
.NET技术社区
创建于2007-09-28

5.8w+

社区成员

.NET技术交流专区
申请成为版主
帖子事件
创建了帖子
2004-11-03 06:36
社区公告
暂无公告