Articles
DevASP - ASP and XML Articles, Samples, Toturials, Sample Chapters and resources for Developers Thursday, February 09, 2012
Home
Articles & Samples
Dev Search
Sample Chapters
Link to US
Contact
Search Directory
Applications
Articles & Samples
Components
Community
Database
Developer Sites
Downloads
Hosting Services
Introduction
Knowledge Base
Sample Chapters
WebCasts
ASP Directory
Applications
Articles & Samples
Components
Developer Sites
Knowledge Base
Sample Chapters
WebCasts
XML Directory
Applications
Articles & Samples
Developer Sites
Error, Bugs & Fixes
Downloads
Introduction
Knowledge Base
Sample Chapters
WebCasts

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP > Error Handling
Search
DevASP

What's New
What's Hot

An ASP Error Report Emailer Function       
Total Hits: 135  |  Today: 0 Author: Brett Burridge       Rating:  
Read Reviews | Write Review |              Your Rating: 

When you build websites for customers, it's often very difficult to find out the source of errors. Often the difficulties are mostly down to inaccurate error reports. For example, an error of "the page shows an error when I log in to the job search page" is a lot more difficult to fix than "the page shows a Microsoft VBScript runtime error number 500 (Variable is undefined) when I access job_search_login.asp". A possible solution to the problem is to display friendly errors on the page. However,...

A Custom ASP Error Class with Pop-up Dialog Box       
Total Hits: 373  |  Today: 0 Author: Matt Rutledge       Rating:  
Read Reviews | Write Review |              Your Rating: 

Have you ever needed some custom error handling for your asp site. I found that we had a need for it at my office, so I came up with a class that uses VBScripts Error handling object....

ASP Error Codes       
Total Hits: 910  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article includes a list of ASP error codes that may be returned while an Active Server Pages (ASP) page is processing....

404 Error Report       
Total Hits: 150  |  Today: 0 Author: Lewis Moten       Rating:  
Read Reviews | Write Review |              Your Rating: 

By default, this script will attempt to send the 404 error report to the webmaster of the pages domain that it is hosted on. You can change this by editing the address sent with the SendReport Function Call. If you want to set it back to the default setting, change this text to "webmaster@domain.com"...

ASP Error Messages       
Total Hits: 372  |  Today: 0 Author: Stuart Dickerson       Rating:  
Read Reviews | Write Review |              Your Rating: 

These days it is not uncommon to have a server run multiple websites. One reason to do this is to have another site using a friendly name attached to your domain:

www.mycompany.com (the default site)
support.mycompany.com (the additional site)...

Why does CDO.Message give me 80040222 errors?       
Total Hits: 503  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your Rating: 

Verify that the path exists, and has appropriate permissions. Alter the value if it is not set correctly.

On previous versions of IIS, the pickup directory is usually c:\inetpub\mailroot\pickup -- so make sure that this path exists and has appropriate permissions....

Why does CDO.Message give 800C000D errors?       
Total Hits: 434  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your Rating: 

There are various reasons for this to happen. Here are some code samples to reproduce this error message:...

Useful Error Handling And Logging In Script       
Total Hits: 350  |  Today: 0 Author: Steve Schofield       Rating:  
Read Reviews | Write Review |              Your Rating: 

Here is a couple of functions that are useful when debugging using Windows Scripting Host files. Notice in every function, ON ERROR RESUME NEXT and ERR.CLEAR is called. When using WSH or any script language, the rich debugging environment isn't available. Being able to debug your scripts and continue to the completion is a real challenge.
This technique has been useful in several hundred line script files that I've done. Notice in Function SAMPLE, 1 - this will log to a file on the c:\Trackin...

ASP Error Handling       
Total Hits: 198  |  Today: 0 Author: aspdev       Rating:  
Read Reviews | Write Review |              Your Rating: 

In ASP you handle application errors by using the On Error resume Next statement.
If you don’t want your visitors to see ugly meaningless error messages, then you’ll have to implement some kind of error handling in your ASP applications....

Trapping 404 and 500 Errors       
Total Hits: 351  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article deals with intercepting 404 (Page not found) and 500.100 server errors. Detailing how to specifically trap and handle these errors in a much better way!...

The ASPError Object       
Total Hits: 2279  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

The ASP Error object is used to display detailed information of any error that occurs in scripts in an ASP page. The ASPError object is created when Server.GetLastError is called, so the error information can only be accessed by using the Server.GetLastError method....

clsDebug       
Total Hits: 676  |  Today: 0 Author: mike       Rating:  
Read Reviews | Write Review |              Your Rating: 

This is a class module useful in developing and debugging ASP applications. The display of the debug information is rendered at the end of your page. The display of the debug information can be turned off using the clsDebug.Enabled setting...

Pass errors from ATL component       
Total Hits: 398  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article will show you how to pass rich error information from your ATL component, so that your ASP application can properly handle it....

seventh built-in ASP Object       
Total Hits: 443  |  Today: 0 Author: Bill Gearhart       Rating:  
Read Reviews | Write Review |              Your Rating: 

No more of the old, bland error messages that everyone's used to from the older releases of IIS and ASP. If you're using ASP 3 and IIS 5, you have a new ASP object to work with and might not have even noticed it was there...

Custom ASP Error Handling       
Total Hits: 1861  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

When an error occurs in server-side script, Active Server Pages (ASP) stops running the code and displays the error that is associated with the problem that it encountered....

Plan for debugging       
Total Hits: 758  |  Today: 0 Author: ElementK Journals       Rating:  
Read Reviews | Write Review |              Your Rating: 

As everyone knows, Active Server Pages doesn't have the best debugging capabilities out of the box, but there are several techniques you can implement yourself that will help you with debugging down the line....

Custom Error-Handling Pages       
Total Hits: 427  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

This step-by-step guide demonstrates how to use the new ASPError object to create a custom, centralized error-handling page....

My ASP Pages Won't Work       
Total Hits: 621  |  Today: 0 Author: webmaster       Rating:  
Read Reviews | Write Review |              Your Rating: 

Every person new to ASP has had difficulty in their first ASP page. It doesn't matter if you are writing the code yourself, copying them from samples....

Create a Custom 404 Error Page       
Total Hits: 361  |  Today: 0 Author: Adam Ware       Rating:  
Read Reviews | Write Review |              Your Rating: 

Have you ever wanted get rid of the ugly 404 Page Not Found error page with something more customizable? Well then here's how to create your own custom error page also your visitors are less likely to leave your site if they DONT find a error page....

SQL apostrophe error handling       
Total Hits: 1040  |  Today: 0 Author: John Freedman       Rating:  
Read Reviews | Write Review |              Your Rating: 

This is a useful ASP code snippet which demonstrates how to prevent errors in SQL query strings that contain an apostrophe in the query string. Useful for name handling....


DevASP - Privacy - Disclaimer
Copyright © 2008 DevASP.com