Last post Feb 25, 2020 05:16 AM by samwu
Feb 24, 2020 09:32 PM|Shamim Hasan|LINK
Feb 25, 2020 05:16 AM|samwu|LINK
What problems did you encounter?
Do you want to capture server error to display on mycustompage.htm?
If so, you need to write code for displaying the stack trace onto an error page and redirect the browser to that error. You should handle the Application_Error handler in the Global.asax.cs class. Remember, all application error eventually bubbled
upto the application, if not handled by a catch statement in your code. So, Application_Error handler knows all the errors that occur in the application, so thats the best place to put the code to catch the stacktrace from the exception.