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





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:


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