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



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
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


Samples

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

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