BUG: Locking While Running Two Transactions on Two SessionsLast reviewed: September 9, 1996Article ID: Q137971 |
The information in this article applies to:
BUG# NT: 2344 Raid (QJET)
SYMPTOMSWhen 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:
[Microsoft][ODBC Microsoft Access 2.0 Driver] Couldn't update; currently locked by another session on this machine.The two connections are from the same application.
WORKAROUNDIf 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.
STATUSMicrosoft 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.
MORE INFORMATIONTo reproduce this problem using ODBC Test (16-bit):
|
Additional reference words: 2.00.2317 locking transactions connectivity
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |