custom errors?

Results 1 to 2 of 2

Thread: custom errors?

  1. #1
    Join Date
    Dec 1969

    Default custom errors?

    If there are errors on my site...I want to display an error page....simple enough...through the web.config page. What I want it to do though is actually email me a copy of the exact error, while only showing a general error page.<BR><BR>Is there a way to get the custom errorpage.aspx to display just a "sorry, there&#039;s been an error" While emailing me a copy of the error that would normally have been displayed if I had &#060;CustomErrors mode = "Off" /&#062;?

  2. #2

    Default RE: custom errors?

    Try using Application_Error in the global.<BR><BR>protected void Application_Error(Object sender, EventArgs e)<BR> {<BR><BR> }<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts