Search
This project is obsolete.

Project Description

WebError Logger is an open source project whose purpose is to log and report unhandled/handled exceptions in ASP.NET web applications on server side as well as on client side for Ms-Ajax application.
The project is inspired by ideas ELMAH (Error Logging Module and Handler) and born due limitation, complexity and unnecessary over engineering. Read more http://code.google.com/p/elmah/. Both projects have pros and cons. I can't attach screenshot, because they are too big. Choose the best suited for you! Any developer is welcome to join this project.
  • Logging of nearly all unhandled exceptions
  • All errors are serialized and logged in the App_Data folder
  • A web page to remotely view the entire log of recoded exceptions.
  • A web page to remotely view the full details of any one logged exception. In many cases, you can review the original yellow screen of death that ASP.NET generated for a given exception, even with customErrors mode turned off.

Examples:
This project targets non-enterprise websites and will contains three main modules:
  • Error (exception) logger (99% done. Testing stage)
  • Error View Details (~65% done)
  • Error Detail Reports and Analysis (design stage)

Requirement:
  • Support for ASP.NET 2.0 and 3.*
  • Support for medium trust under ASP.NET 2.0.
  • VS2008 (WebAppliaction)

WebError Logger is design for following errors:
  • Server side
    • Unhandled
      • Global.asax Application_OnError
      • Generic Server side error typeof Exception.
    • Handled (try catch block)
      • Generic Server side error typeof Exception.
      • Server side sql error typeof SqlException.
  • Client side (MS-Ajax)
    • Unhandled
      • window.onerror
      • Generic Client side error (message, url, line number)
    • Handled
      • try catch block
      • Generic Client side error(message, error number, error name, description, url)


The generic server side exceptions are logged with additional HttpContext information similar to trace.axd:
  • Original ASP.Net Error Message
  • Form Collection
  • Request Cookies Collection
  • Query String Collection
  • Application State
  • Session State
  • Server Variables
  • Plus extra info

The generic server side exceptions are logged with additional SqlError information:
  • Message
  • Procedure
  • Line Number
  • Error Number
  • Severity
  • Server
  • Source
  • Stack Trace
  • Plus extra info

The Client side exceptions are logged with additional information like:
  • Browser Capabilities
  • Url
  • Message
  • Line Number
  • Error Number
  • Error Name
  • Description
  • Plus extra info

Last edited Apr 25 2011 at 1:08 AM by JBaltikauskas, version 14
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.2.7.18398