0 pts.
 Disconnected from SQL Server
I'm currently making an attendance system whereas all transactions (scan in and out) are stored on an SQL Server. My problem is, how can I keep all transactions going in case the server is down? Do I need to incorporate it in my VB code?

Software/Hardware used:
ASKED: June 28, 2005  3:45 AM
UPDATED: June 29, 2005  9:58 AM

Answer Wiki:
If the Database is down or temporarily unavailable where is the data to go? You can set up an external spool file and have another process (thread) access the spool file and send it to the database when available. The same with current information you can do a check for database connectivity and use the spool file when no database available. Database availability is a mission critical process perhaps having a replicated SQL server (backup database) is required. I'm not sure as to how often this data is required by another party/program/service or how often it is updated etc. i.e. you do the writes to the spool/flat file in the enter attendance worker thread and then use another thread to check for database connectivity and write the queue to the database when available.
Last Wiki Answer Submitted:  June 29, 2005  9:58 am  by  Ve3ofa   80 pts.
All Answer Wiki Contributors:  Ve3ofa   80 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _