Hi, You are correct in your assessment. I generally would use a try/catch to attempt to write to the database (and send an email/page giving an admin notification). However lack of DB connectivity might be what's causing the initial exception, so I would write to a text file (or standalone Access DB) in the 'catch' part of the try/catch construct. Cheers Ken -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Chris Hayes Sent: Wednesday, 23 November 2005 1:26 AM To: thelist at lists.evolt.org Subject: [thelist] ASP error logging script ASP error logging scripts: everything I have found so far either writes to database or sends an email, which seems odd as either of these could be the cause of an error. Wouldn't it be best to write to a cycled log file. I would have thought a Google search result set be teeming with such scripts.