PRB: Error Message 3734 Occurs When You Repeatedly Open and Close MDB File (274211)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Access 2000
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
This article was previously published under Q274211 SYMPTOMS
If you repeatedly open and close a Microsoft Access database (MDB) in a multiuser situation, the following 3734 run-time error message may occur:
The database has been placed in a state by user 'Admin' on machine
'machinename' that prevents it from being opened or locked.
CAUSE
Jet locks a block of 256 bits in the MDB header. Included in this block of bits are bits that indicate a "passive shutdown", which causes the error message described in the "Symptoms" section to occur. You may have users that open and close the MDB file rapidly and the bits are not getting unlocked quickly enough. When a user tries to open the MDB file, if the program is not able to read the bits, Jet assumes that the user is in a "passive shutdown" or "admin mode", and therefore will not let the user open the MDB file.
RESOLUTION
Repeatedly opening and closing a Microsoft Access database is not recommended. Open the database once at the beginning of the application, and then close the database at the end of the application.
STATUS
This behavior is by design.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
198756 ACC2000: Use Connection Control to Prevent User Log On at Run
Modification Type: | Minor | Last Reviewed: | 7/14/2004 |
---|
Keywords: | kbBug kbCodeSnippet kbDatabase kbJET kbprb KB274211 |
---|
|