views:

659

answers:

1

We recently updated our WPF application to perform its data synchronisation (using sync framework) within a single transaction against our SQL Server 2008 database.

Almost straight away this has somehow led to a row being locked in of of the tables preventing all other users from syncing.

The thing is that the lock does not seem to be lifting and we are not sure how to resolve the situation.

Any feedback appreciated

+2  A: 

The only way to release a row lock is to commit or rollback the transaction in which the lock was taken.

erikkallen
righto - I guess eventually it will lift when whatever user that is in the process of performing a (very slow) udpate completes or cancels.
Sergio