ASP 101 - Active Server Pages 101 - Web01
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

Script Output:

Error details:

Err.Source Server object
Err.Number -2147221005
Err.Description 006~ASP 0177~Server.CreateObject Failed~800401f3

Error details:

Err.Source ASP 101
Err.Number 1
Err.Description This is a custom error that I raised!

ASP HTML Download            FAQ

ASP.NET Version

Error handling in VBScript is relatively primitive, but that doesn't mean you shouldn't use it. There's not much that will lower a user's opinion of your site more quickly then when they get an ugly unhandled error.

Note: Starting with ASP 3.0 there is a another method for handling run-time errors: the ASPError object. It's used to centrally handle errors for an entire site by setting up a custom error page. You can find more information about this type of error handling here:


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