Problems RRS feed

  • Question

  • User511811534 posted
    mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    Monday, February 24, 2020 9:32 PM

All replies

  • 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,


    Tuesday, February 25, 2020 5:16 AM