Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Managing Transactions for 2 Servers
Message
From
18/11/2011 10:17:20
 
 
To
18/11/2011 08:58:47
Alhad Marathe
Asm Consulting
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01529212
Message ID:
01529221
Views:
44
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
Previous
Reply
Map
View

Click here to load this message in the networking platform