D
David C
I have a Global.asax file that has an Application_Error subroutine that
emails me when an error occurs using the code below and some smtp stuff.
Dim ex As Exception = HttpContext.Current.Server.GetLastError()
I would like to be able to also get the name of the page that generated the
error. I found the item below but I am not sure if this will work. Can
anyone help? Thanks.
David
Dim strPageFrom As String =
HttpContext.Current.Server.GetLastError.Source
emails me when an error occurs using the code below and some smtp stuff.
Dim ex As Exception = HttpContext.Current.Server.GetLastError()
I would like to be able to also get the name of the page that generated the
error. I found the item below but I am not sure if this will work. Can
anyone help? Thanks.
David
Dim strPageFrom As String =
HttpContext.Current.Server.GetLastError.Source