M
Michael
Using some example code I've found, I'm trying to do the custom error page
thing.
I have the following in global.asax..
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
Dim oErr As System.Exception = Server.GetLastError()
Session("LastError") = oErr
End Sub
This throws an error and winds up back in Application_Error. When I get the
error using Server.GetLastError().GetBaseException() everything works as it
should, but the examples I've followed use GetBaseError() in the custom
error page code.
Can someone please explain this to me?
Thanks
thing.
I have the following in global.asax..
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
Dim oErr As System.Exception = Server.GetLastError()
Session("LastError") = oErr
End Sub
This throws an error and winds up back in Application_Error. When I get the
error using Server.GetLastError().GetBaseException() everything works as it
should, but the examples I've followed use GetBaseError() in the custom
error page code.
Can someone please explain this to me?
Thanks