Print Page | Close Window

Check for database connection

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=23480
Printed Date: 28 March 2026 at 11:06pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Check for database connection
Posted By: webfort
Subject: Check for database connection
Date Posted: 07 June 2007 at 10:35am

Hi,

 
I was wondering if any one could help me. I was wondering if there was a way of checking for a database connection. ie say if the database server was down instead of seeing errors appear all over your site they could get redirected to a page saying that the database server is down.
 
Many thanks



Replies:
Posted By: michael
Date Posted: 07 June 2007 at 2:41pm
Use an Error handler. There are a few libraries on aspin.com or so, that essentially display custom messages based on the error.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net