如何停止Application_Error [英] how to stop Application_Error

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

问题描述

大家好,
我在Global.asax文件中有一个发布了Application_Error事件的网站,用于发送错误邮件.
现在,我想停止发送这些邮件,但是我没有源代码.我只有发布的版本.
有没有办法做到这一点.
请建议..

最好的问候
Prakash

Hi Guys,
I have a published web site with the Application_Error event in the Global.asax file to send error mails.
Now I want to stop that mails but I don''t have source code. I have only published version.
Is there a way to do this.
Kindly Suggest..

Best Regards
Prakash

推荐答案

我想您应该保留源代码.如果将其编译为dll,您唯一的选择就是将其反编译并从那里删除.或者,如果web.config中有邮件服务器的设置(告诉我您是否没有对邮件服务器进行硬编码?),则可以更改它们以使之停止.
I guess you should have kept the source code. If it''s compiled to a dll, your only bet is to decompile it and go from there. Or if there''s settings for the mail server in the web.config ( tell me you didn''t hard code your mail server ? ) then you could change them to stop them that way.


这篇关于如何停止Application_Error的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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