0

Guys, what is the name of HttpModule which serves standard Asp.Net error screens with the stack trace? Can I disable this in order to modify response when application error occurs? Or is there another way to modify the response for example in Global.asax or custom HttpModule on Application_Error?

1 Answer 1

1

Why don't you use much better CustomErrors section in web.config

http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx

Sign up to request clarification or add additional context in comments.

2 Comments

I need to modify the response on async postback, not to show custom error page.
I am still not clear, you can do whatever you want on your error.aspx page. Do you mean whenever error orccurs in your application, you want to show error there itself on same page asynchronously ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.