异常消息 [英] Exception Message

查看:63
本文介绍了异常消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个名为Exception.aspx的页面.
我想发送任何页面的Web应用程序引起的所有异常错误.我希望所有人都通过Web配置文件来完成此操作.
如果您有任何解决方案,请让我问.

Hi All,

I have a page named as Exception.aspx .
I want to send all the exception error arising from a web application of any page .I want all to do it through web config file.
Please let me if u people have any solutions.

推荐答案

看看 ^ ]很棒的文章.
特别是,在本文的下方,请查看如下定义的应用程序设置
Have a look at this[^] awesome article.
In particular, lower down in the article, have a look at the app settings defined as below
value="Application/Context/Cookie/QueryString/Off" />
      <add key="customErrorPage" value="myErrorPage.aspx" />
<add key="customErrorBranchMethod" value="Redirect/Transfer" />
      <add key="customErrorAllowReport" value="On/Off" />
      <add key="customErrorEmailAddress" value="errors@mySite.com</pre></xml>"></add>


这篇关于异常消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆