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 40961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:06:20+00:00 2026-05-10T15:06:20+00:00

I am looking for a better solution than what we currently have to deal

  • 0

I am looking for a better solution than what we currently have to deal with unexpected production errors, without reinventing the wheel.

A larger number of our products are WinForm and WPF applications that are installed at remote sites. Inevitably unexpected errors occur, from NullReferenceExceptions to ‘General network errors’. Thus ranging from programmer errors to environment problems.

Currently all these unhandled exceptions are logged using log4net and then emailed back to us for analysis. However we found that sometimes these error ‘reports’ contain too little information to identify the problem.

In these reports we need information such as:

  1. Application name
  2. Application Version
  3. Workstation
  4. Maybe a screen shot
  5. Exception details
  6. Operating system
  7. Available RAM
  8. Running processes
  9. And so on…

I don’t really want to re-invent the wheel by developing this from scratch. Components that are required:

  1. Error collection (details as mentioned above)
  2. Error ‘sender’ (Queuing required if DB or Internet is unavailable)
  3. Error database
  4. Analysis and reporting of these errors. E.g. 10 most frequent errors or timeouts occur between 4:00PM and 5:00PM. How do the errors compare between version x and y?

Note: We looked at SmartAssembly as a possible solution but although close it didn’t quite met our needs and I was hoping to hear what other developers do and if some alternatives exist.

Edit: Thanks for the answers so far. Maybe I wasn’t clear in my original question, the problem is not how to catch all unhanded exceptions but rather how to deal with them and to create a reporting engine (analysis) around them.

  • 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-10T15:06:21+00:00Added an answer on May 10, 2026 at 3:06 pm

    I’d suggest Jeff Atwood’s article on User Friendly Exception Handling, which does most of what you ask already (Application Info, Screenshot, Exception Details, OS, Logging to text files and Emailing), and contains the source code so you add the extra stuff you need.

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

Sidebar

Related Questions

I am currently looking at optimising an C# (.NET 3.5) application framework, and at
I have what I hope is not a unique situation... ...and I'm looking for
Let's say I'm implementing my own version of Scrabble. I currently have a Board
I am currently the lead of my site's dev team (3 people) and we
I have a whole bunch of jpg files that I need to use in
More than once I've encountered the situation where a UIView (subclass) ends up on
I am new to CoreData and been looking to all the books and examples
VB.NET 2010, .NET 4 Hello, I recently read about using SynchronizationContext objects to control
I am developing a Java application that makes an HTTP Request to a web
First example: You can take a huge rock shaped mesh and put a tiled

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.