We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Private Sub ErrorHandler(ByVal ex As Exception, ByVal strMethod As String) pnlError.Visible = True pnlGUI.Visible = False lblErrorMSG.Text = "<p>An error has occured please try again " If Request.ServerVariables("REMOTE_ADDR") = "IP ADRESS" Then lblErrorMSG.Text += "Error Description: Problem in """ & strMethod & """:<br /> " & ex.Message txtError.Text = txtError.Text & vbCrLf & "StackTrace:" & vbCrLf & ex.StackTrace txtError.Text = txtError.Text & vbCrLf & "Method:" & ex.TargetSite.ToString() txtError.Text = txtError.Text & vbCrLf & "URL: " & Request.RawUrl Else txtError.Visible = False End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.