User288213138 posted
Hi Shamim,
Shamim Hasan
mode="RemoteOnly" defaultRedirect="mycustompage.htm"
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.
Best regards,
Sam