ASP 101 - Active Server Pages 101 - Web04
The Place ASP Developers Go!

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

ASP.NET version of "Error Handling"

Error handling is one of those things that no one likes to do, but it is one of the things that really separates the classy sites from the rest. Getting an ASP error on an otherwise professional looking website can really hurt a user's opinion of a company's site. While you can't stop errors from happening, you can handle them in a professional manner. I'm not saying we do... just that you can.   ;)

Just like our classic ASP sample, this sample just covers handling errors programatically in the script where the error occurs. You can also handle them at the application level by setting up custom error pages. This is not covered in this sample.

Here's a zip file of the code (1.2 KB).

Play with the running version.

View the live source code.

Back to the "Error Handling" sample


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers