Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Managing Transactions for 2 Servers
Message
De
18/11/2011 10:17:20
 
 
À
18/11/2011 08:58:47
Alhad Marathe
Asm Consulting
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01529212
Message ID:
01529221
Vues:
43
You need to use the Transaction Coordinator, which is part of Windows Component Services (COM+). There is an article on my web site that explains how to use it. http://www.craigberntson.com/papers.html

>I have a client-server application which uses a local database on the local server in the office through LAN. The application also needs to update records to a web based SQL Server database.
>
>I am using 2 separate connections to connect to both databases. The problem is at times the internet connection breaks and either the web database is not updated without the error getting reported (the local database gets updated) or if there is an error the application simply crashes without updating the local database too.
>
>How can I manage transactions between both the servers so that either both databases are updated or none is updated.
>
>Thanks in Advance.
>
>Alhad
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform