Programmer's Heaven - For C C++ Pascal Delphi Visual Basic Assembler C# .Net java JSP ASP ASP.NET Javascript developers!

Members
Username:

Password:

Auto-login

Register
Why register?
Forgot Password?
Blogs new Blog section
Jobs
Webtools
Message Boards
FAQ
CodePedia
Free Magazines
User search
What's New
Top lists
RSS Feeds RSS Feed

Submit content
Contact Us
Link To Us
Help



Advanced Search
Newsletter
E-mail:


More information
Current area: HOME -> ASP / ASP.NET -> Error Handling Articles Adds this page to your personal favorites
  Error Handling
An Exception to the Rule, Part 1
Let's face it, when we write Web applications we occasionally have bugs (or in our more politically correct world, issues) within our code. Unfortunately, it always seems that the more senior the tester, that is CEO, CIO, board members, VC, and so on, the more frequent or serious these issues tend to be.
Visits: 531 Updated: 2003-12-17  Rating: (Not Rated)  More info & Ratings
An Exception to the Rule, Part 2
In the previous column, we briefly mentioned Application_Error events and Page_Error events. These events are raised whenever we have an unhandled exception occur within our application. If a Page_Error event is present within an ASP.NET page, and an unhandled error occurs, the event is raised. Application_Error is slightly different. It is raised for all unhandled exceptions in our ASP.NET application and is implemented in global.asax or within an HTTP Module.
Visits: 416 Updated: 2003-12-17  Rating: (Not Rated)  More info & Ratings
Advertisment
Create Custom Error Reporting Pages in ASP.NET
This article describes how to use Visual C# .NET code to trap and respond to errors when they occur in ASP.NET. ASP.NET has improved the error handling options from traditional Microsoft Active Server Pages (ASP). In ASP.NET, you can handle errors at several different levels in your applications.
Visits: 670 Updated: 2003-12-19  Rating: (Not Rated)  More info & Ratings
Custom Errors in ASP.NET
In this article I will talk about customizing default error page, manipulating configuration file and sending notification to the administrator about the error.Read more
Visits: 971 Updated: 2002-5-28  Rating: (Not Rated)  More info & Ratings
Custom Errors in ASP.NET
Structured exception handling is a fundamental part of the CLR and provides .NET programmers a great way of managing errors. In addition to CLR exception system, Amit explains how ASP.NET also provides ways of handling errors.
Visits: 794 Updated: 2002-11-20  Rating: (Not Rated)  More info & Ratings
Custom Errors in ASP.NET
When a runtime or design-time error occurs in an application, ASP.NET shows a default error page that gives a brief description of the error along with the line number on which the error occurred. A developer would wish to view this default error page, during the testing of the application since the description helps him in rectifying the error. But he would never want a user trying to access his application, to view this error page. The user would be least bothered to know about the error. Instead of showing the default error page, it would be more sensible to show a customized error page that would let the user send notification of the error to the administrator.
Visits: 521 Updated: 2003-12-16  Rating: (Not Rated)  More info & Ratings
Error handling in ASP.NET applications
Even though you take lot of care in designing your application errors do occur. In case of web applications the chances of errors still increase because of its nature. Errors can be broadly classified into two categories system errors and business logic errors. The first type of errors might be because of network crashes, database crashes or server down-times. The second type of errors is related to particular business rules. These errors vary based on application under consideration. All of these errors call for a robust and user friendly error handling techniques for your applications. In this article we will see various error handling techniques. Our focus will be on ASP.NET web applications though many of the concepts are applicable to other types of applications as well.
Visits: 627 Updated: 2003-12-16  Rating: (Not Rated)  More info & Ratings
Exceptions in ASP.NET
What and how to handle exceptions in ASP.NET
Visits: 915 Updated: 2001-12-28  Rating: (Not Rated)  More info & Ratings
Global Error Handler, Part 2
One of our first articles using .Net was a Global Error Handler that was included in our Global.Asax file. Since then we have modified the original code with a few additional features. We also use the same functions in several web sites so we...
Visits: 792 Updated: 2002-11-20  Rating: (Not Rated)  More info & Ratings
Logging Unhandled Page Exceptions To The System Event Log
Error handling is a critical part of building enterprise level web applications, for that matter, it is a huge page of any application. In one of last weeks article we discussed using the Try...Catch...Finally statement to catch and respond to exceptions thrown during the page execution process. In this article I will be introducing a new way to catch Page-Level exceptions by introducing the HandleError Method. I will demonstrate what the firing order of the two are (try..catch..finally and HandleError, and demonstrate how you can try to catch exceptions in the Pages HandleError event if your Try...Catch statement fails. Once the exception is caught I'll then demonstrate how to log this exception and it's details to the Systems Event Log and finally redirect the clients browser to a custom error page.
Visits: 399 Updated: 2003-12-16  Rating: (Not Rated)  More info & Ratings
Manual File Downloads In ASP.NET
Fighting Response.End and the infamous ThreadAbortException while trying to implement manual file downloading in an ASP.NET application.
Visits: 485 Updated: 2004-1-22  Rating: (Not Rated)  More info & Ratings
Try..Catch..Finally in ASP.NET
Exception handling in ASP.NET is a new methodology to a classic ASP programmer. Read this article to know about what exactly is this new Exception handling mechanism?
Visits: 1739 Updated: 2002-4-12  Rating: 


Found a broken link? Please report it to us.

  See also  
 Articles
   General ASP Articles
    Error handling
    Debugging
   ASP.NET Articles
    Debugging
 

Sponsored Links 
Check For Updates
Easily add update features to your applications. A complete .Net updating solution.
BugSplat - Automatic Crash Analysis
Fast online exception analysis. Capture customer crash data online.
.Net Localization in three simple steps (WYSIWYG)
Localize .Net, C#/C/C++ & Delphi apps visually. HTML, HTML Help, XML & databases. Try Sisulizer now!
CSTSOFT Instrumentation .NET & ActiveX Components
A collection of 13 instrumentation .NET/ActiveX/VCL components including Gauge,Knob,LED,Trend etc.
Web based bug tracking - AdminiTrack.com
AdminiTrack offers an effective web-based bug tracking system designed for professional software development teams.
Buy a link now

Advertisement

  Free Magazine  
Free Magazines
InfoWorld is a enterprise-level publication that focuses on technology and HOW to use it to achieve higher revenues, more efficient operations and greater profits.
subscribe now


Newsletter Submit Content About Advertising Awards Contact Us Link to us    
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by ASP.NET Konsult - Synchron Data.