如何在asp.net中维护自定义错误页面? [英] how to maintain custom error page in asp.net ?
本文介绍了如何在asp.net中维护自定义错误页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
目前,我正在从事银行项目.在这里,我想维护一个自定义错误页面,该页面将显示该错误以及此应用程序的详细信息.而且,如果将产生任何错误/异常,则此应用程序将直接移至错误页面.
有人可以帮我吗?
请同时提供源代码.
再见
Hi,
Currently I am working in Banking project. Here I want to maintain a custom error page, which will display the error with details of this application. And also if any error/exception will generate then this application directly move to the error page.
Can somebody help me on this?
please provide the source code also.
Bye
推荐答案
http://www.asp.net/hosting/tutorials/displaying-a-custom-error-page-cs [ http://support.microsoft.com/kb/306355 [ ASP.NET中的错误处理 [
http://www.asp.net/hosting/tutorials/displaying-a-custom-error-page-cs[^]
http://support.microsoft.com/kb/306355[^]
Error Handling in ASP.NET[^]
Google for more.
检查这些链接
带有示例的自定义错误页面. [显示自定义错误页面 [网络配置中的自定义错误页面 [ ^ ]
Check these links
custom error pages with example.[^]
diplaying custom Error pages[^]
Custom error pages in web config[^]
请参阅以下链接:
http://weblogs.asp.net/erobillard/archive/2003/04/23/5992.aspx [ ^ ]
http://support.microsoft.com/kb/306355 [
Refer these links:
http://weblogs.asp.net/erobillard/archive/2003/04/23/5992.aspx[^]
http://support.microsoft.com/kb/306355[^]
这篇关于如何在asp.net中维护自定义错误页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文