Library tutorials & articles
Implementing Error Logging
Overview
It is important to know what is going on with your site in development and production. By implementing proper error logging, you can quickly track down errors, and provide your team members with enhanced error information. With the new ASP Error object you can create a simple and effective logging system.
ASP Error Object
Did I tell you I love the new ASP Error object? It finally enables developers to control page execution. This object is used to retrieve details of the last error that occurred within an ASP page. Combine that with the ability to create custom error pages, and you have a pretty powerful tool within the development shack.
The error object consists of nine properties; however, I will only mention the properties used within the demo.
ASPDescription - returns a description for all non-ASP errors.
Category - the evil being, external object, or script that caused
the error.
Column - column position of the rogue character.
Description - description of ASP error.
File - the ASP file that caused the error.
Line - the line number of the evil code.
Source - the actual evil code that caused the error.
Related articles
Related discussion
-
Header and Footer in Web page print
by fhajaj (4 replies)
-
help me to get simple requirement
by Slicksim (1 replies)
-
Gridview -> Template Field -> Button
by antti.simonen (1 replies)
-
Classic ASP : Page expires
by chezhian_in05 (0 replies)
-
ASP VS PHP
by paulfp (9 replies)
Related podcasts
-
ASP.NET Caching and Performance
Steve Smith, owner of ASP Alliance and Lake Quincy Media joins us today to teach us about some hidden gems in ASP.NET caching and performance. Steve’s expertise in this area comes from first-hand experience as Lake Quincy’s ad system serves over 60 requests per second and handles over 150 million...
Related jobs
-
Microsoft .Net Architect
in AMSTERDAM (€50K-€90K per annum) -
Microsoft Dynamics CRM Technical Consultant
in Netherlands (€50K-€90K per annum) -
Technical Support Engineer EMEA
in Reading (£50K-£50K per annum) -
Solutions Engineer
in Reading (£50K-£60K per annum)
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.
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!
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.
This thread is for discussions of Implementing Error Logging.