thanks :)
-----Original Message-----
From: Amit Kohli [mailto:amit.kohli@d...]
Sent: 12 March 2003 17:58
To: ASPX_Professional
Subject: [aspx_professional] RE: Advice: Page_Error
Since the question is sort of open ended, I'd venture to suggest using
try-catch blocks instead (but would need more detail from you to pick one
over the other)
In general terms, log the error in the event log or databse, perhaps display
the error description,...
FYI, in the Web.config - you can use the customErrors tag and redirect the
user to a default error page that will tell the user an error has occurred
and also include code in the page to log the error for you and use
System.Diagnostics.... GetBaseError/GetLastError - this last bit would be
similar to getting the error description
Hope that I have not gone off on a tangent here.
Amit
-----Original Message-----
From: Robert Sindall [mailto:rsindall@z...]
Sent: Wednesday, March 12, 2003 10:45 AM
To: ASPX_Professional
Subject: [aspx_professional] Advice: Page_Error
Hi
what would be an advise able thing to do in here?
Private Sub Page_Error(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Error
End Sub