Top Scripts new scripts popular scripts Linto us modify your scripts submit your scripts Become an Editor

PHP , ASP , ASP.NET , CGI , Perl , C , C++ , Java , JavaScript , Flash, Python
Free Scripts Directory
 
 
 
» Home » ASP.NET » Error Handling
 
»Event Handler Basic
Event Handler is a .NET assembly that provides exception handling, event monitoring, and error reporting as part of a centralized solution. While handling exceptions or events, you can choose from a variety of logging or reporting options to make trouble-shooting your application simple, fast, and efficient.

This is a fully functional release of our Event Handler Pro, but without the source code or support. However, for those just wanting to plug in an event handler and go, it's perfect for your needs!

Whether you are using C Sharp (C#) or Visual Basic.NET (VB.NET), you will be able to import this .DLL into your project, reference, and you are ready to prepare and send your areas from anywhere in your application.

Exception Handling, Event Monitoring, or Error Reporting has never been easier!

System Requirements:

ASP.NET (Framework Version 1.1)
Microsoft Windows
Internet Information Services (IIS)
Microsoft Visual Studio or ASP.NET authoring software.
This program is excellent for shared environments to help standardize your code. With Event Handler Pro, you can send your error messages to:

The Windows Event Viewer
A Log File
A SQL Server or MSDE database
E-mail address or distribution list
By utilizing this program, you are able to establish programming standards that help speed code development. By providing a standardized exception handling process, you speed your code development, decrease troubleshooting time, and find errors before your clients do. Error messages can even be e-mailed to development or administrative staff alerting them of money costing errors.

Can you afford not to have a reliable exception handling, event notification, or error messaging system integrated seamlessly with your applications?

Hits 116  Ratings:1 Date: 05.09.05 Details Homepage
 

»ErrorReporter
No matter how well the site is developed and how meticulously it is tested, from time to time errors can appear.

When the site is still at construction, this cause no problems - you can activate trace and find out enough information to localize the error.

Problems arise, when the site passes in an operating conditions and it real visitors start to use.

In this situation, trace is naturally can not be left activated. Moreover, a visitor should not be shown warning about error the way it looks when generated by ASP .NET, first it irritates a visitor (no visitor would enjoy watching error warnings), second, this information could be used by unfair user for improper purposes.

On the other hand, you as a developer need as more detailed information as possible to eliminate an error, such as information about occurred exception and, if possible, state of page/application at the moment of error's occurrence.

Standard approach applied for this task is installing global interceptor of errors. When exception occurs, the interceptor will fulfill two actions - visible for a user, and invisible - for a developer. Visible - handler will show a page with a friendly notification about the problem to a visitor, this notification will be in tune with overall design of the page. Invisible - handler will record information about the occurred exception to somewhere (for instance, to system event log).

And here a problem appears. The thing is that information about the error which is encapsulated by System.Error.Exteption object is generally not enough. Perhaps, factors of the occurred exception are incorrect interpretation of incoming parameters (for instance, QueryString or Form), or maybe the session contains data that differ from those you calculated, or (the most annoying for a developer) - a specific concourse of circumstances occurred (specific combination of values of variables and collections) that caused the error.

ErrorReporter is designed specifically to solve this problem.

ErrorReporter grants maximum information not only about an error itself, but also about the state of the system at the moment of its occurrence. You can see state of main collections (Cookie, Query String, Server Variables, etc.), Request details, Cache and Application state, your source code that provoked the exception with highlighted error command and great deal of other useful information. ErrorReporter can save this information to the disc as html-file, it can send it by letter to the specified email or a list of emails.

The information supplied by ErrorReporter will help you to localize an error with maximum speed, detect factors that caused it and eliminate it on-the-fly.
Hits 108  Ratings:1 Date: 05.09.05 Details Homepage
 


Sedo - Domains kaufen und verkaufen das Projekt demof.com steht zum Verkauf Besucherstatistiken von demof.com etracker® Web-Controlling statt Logfile-Analyse