Library tutorials & articles

Implementing Error Logging

Testing

Now lets cause some errors. Load the error_demo.asp file included below, and it should cause an error in a flash! You will then receive a well-formatted and very detailed error screen.

<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<%
 bDebug = False
 strProgrammer = "Carvin Wilson"
 set obj = Server.CreateObject("blah") %>
</BODY>
</HTML>

Summary

I hope this article has given you some ideas and insight into error logging. No matter what version of ASP you are using, the benefits are still the same.

Comments

  1. 05 Sep 2006 at 03:27

    I have a problem in coding in vb.net. The statement

    da.Fill(ds "client") has an unhandled exception of type 'System.Data.SqlClient.SqlException'

    please help me debug this statement.

  2. 04 Jul 2002 at 09:43
    You said...If this is the level of illiteracy that one is to expect from Harborview Solutions and Carvin Wilson, it's good to know before you write them a check .


    This 'check' you would write them squiddy, for a last sum of money is it?

    Illiterate....Mmmm!
  3. 23 Mar 2002 at 00:42

    It's always good when an employee of a consulting company posts their sample code to the Web.  That lets you check up on them and gauge their level of competence.  If this is the level of illiteracy that one is to expect from Harborview Solutions and Carvin Wilson, it's good to know before you write them a check.  The web is cool.  


    Sorry, losers.  But if I ever want invalid code, have "trapple errors", need to kill "them their objects", am "Unabled to allocate the required memory," have "The function return exception_name," then I'll be sure to call Harborview Solutions.  

  4. 01 Jan 1999 at 00:00

    This thread is for discussions of Implementing Error Logging.

Leave a comment

Sign in or Join us (it's free).

Carvin Wilson

We'd love to hear what you think! Submit ideas or give us feedback