在web.config下添加代码
<customErrors mode="On" defaultRedirect="GenericErrorPage.htm">
<error statusCode="404" redirect="404Error.htm"/>
</customErrors>
出错
消息 1 未能找到元素“customErrors”的架构信息。 D:\C 15 4
消息 2 未能找到特性“mode”的架构信息。 D:\C 15 17
。
。
。
。
<customErrors mode="On" defaultRedirect="GenericErrorPage.htm">
<error statusCode="404" redirect="404Error.htm"/>
</customErrors>
出错
消息 1 未能找到元素“customErrors”的架构信息。 D:\C 15 4
消息 2 未能找到特性“mode”的架构信息。 D:\C 15 17
。
。
。
。
解决方案 »
- vs2008的url重写的问题
- 如何实现自动取整呢
- 解决下DataGrid的问题,如何显示ComboBox!
- flashfxp在上传过一次后,为什么不能再以同样的文件名上传了
- 在线急求!同一个站点,两个不同的域名,基本上个域名打开网站正常,另一个怎么都打不开?
- 学ASP.NET用处不大???
- 关于server.mappath()的问题
- 怎么在DataGrid添加一行数据。在线等待,我的MSN([email protected])
- 谁能告诉我,系统架构分析和系统安全分析包括哪方面的东西,
- 紧急求援: asp.net程式向系统日志中写入错误信息时, 提示没有权限, 如何解决! 谢谢!!!
- 使用control.ocx编辑office文件出现的一些问题
- 二级网址 web.confing 怎么配置
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.