BUG: Locking While Running Two Transactions on Two Sessions |
Q137971
When you run concurrent uncommitted transactions on two different Access databases (.MDB files) on two different connections with AUTOCOMMIT OFF, the second transaction produces an error:
The two connections are from the same application.[Microsoft][ODBC Microsoft Access 2.0 Driver] Couldn't update; currently locked by another session on this machine.
If SQLSetConnectOption AUTOCOMMIT is set to AUTOCOMMIT_ON, there is no locking. Because this problem does not occur with the 32-bit drivers, moving to 32-bit applications is recommended.
Microsoft has confirmed this to be a problem in the Access 2.0 ODBC driver version 2.00.2317. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
To reproduce this problem using ODBC Test (16-bit):
[Microsoft][ODBC Microsoft Access 2.0 Driver] Couldn't update; currently locked by another session on this machine.
Additional query words: 2.00.2317 locking transactions connectivity
Keywords : kbBug
Issue type : kbbug
Technology :
|
Last Reviewed: March 8, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |