View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
Hi all
 
When FoxWeb encounters an error like a script syntax error or trying to access a database that has been opened via USE --- EXCLUSIVE, how does it generate the error page?
 
Our site is an information look-up site - no financial transactions, shopping carts or similar.  And, in fact, no updates are made to the database at all by any of the scripts.  Everything is opened as "shared noupdate."  Every night an independant FoxPro program has to exclusively grab the database and thrash out some of the data.  It normally takes place at 4:00am EST and only takes a minute or less to run.  Nevertheless, every FoxWeb script will crash with the plain-vanilla default error message.  What I would like to do is generate a "Database is undergoing nightly maintenance" page or similar. 
 
I know that it is possible to code this kind of checking in the actual scripts, but there are hundreds of scripts involved and the USE issue is the only serious error that can happen to any one of them.

 

-Jim


"The true measure of a career is to be able to be content, even proud that you succeeded through your own endeavors without leaving a trail of casualties in your wake."  - Allen Greenspan