Disconnected from SQL Server

0 pts.
Tags:
Development
SQL
Visual Basic
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?
ASKED: June 28, 2005  3:45 AM
UPDATED: June 29, 2005  9:58 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following