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.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are 10 types of people in the world, those who can read binary, and those who can't.”