Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 172583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:11:30+00:00 2026-05-11T13:11:30+00:00

I have always had issues with identifying the errors in applications from the error

  • 0

I have always had issues with identifying the errors in applications from the error reports I get. Currently I build an email with information about the error containing.

  • User
  • Url
  • Error Message
  • Time And Date

This is the code I use

Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)      Dim _UserIpAddress as string = Request.ServerVariables('REMOTE_ADDR')     Dim _Browser as string = Request.ServerVariables('HTTP_USER_AGENT')     Dim _URL as string = Request.Url.AbsoluteUri     Dim _ErrorDate as string = System.DateTime.Now     Dim _Error as string = Server.GetLastError().InnerException.ToString()  End Sub 

The issue is that with this information in some cases I cant work out what has caused the error.

How would I get some more detail on the error? e.g what control caused it, the data in the variables being passed in the system

Also what methods of collecting the data other than email have you used and how successful have they been. e.g. logging in a database, recoding in a text file etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:11:31+00:00Added an answer on May 11, 2026 at 1:11 pm

    There’s no general method of capturing the variables involved, for instance. You’re pretty much asking that a dump be taken whenever you get an error! Even so, you’d have to figure out what the user had been doing before the error occurred. You can get some help from the IIS logs (and you should also log the Referrer URL if it’s non-null).

    The true answer to this problem is a hard one: better QA. The fewer errors that happen once you’ve gone live, the fewer you’ll have to figure out.

    The number of errors found in QA can be further reduced by finding them through automated unit testing, especially using Test-Driven Develpopment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 116k
  • Answers 116k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Double click the cursor fields in your result record. On… May 11, 2026 at 10:37 pm
  • Editorial Team
    Editorial Team added an answer @anand, $.getJSON() retrieves JSON data in an asynchronous manner. The… May 11, 2026 at 10:37 pm
  • Editorial Team
    Editorial Team added an answer I think the problem here is the standard output stream.… May 11, 2026 at 10:37 pm

Related Questions

I'm trying to make my code easily understood by future readers. I've always had
We are having some issues with our production SQL Server. Server: Dual Quad Core
I believe this is not the popular stance but I prefer embedded hacks such
I've had the same problem with sql for a while and as I sit

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.