Error -2147467259: database cannot be opened or locked

  • Thread starter Thread starter Daniel Carbonell
  • Start date Start date
D

Daniel Carbonell

Hello,

I am receiving the following error every time I try to access an Access
database from a Visual basic 6 application:

Error -2147467259: The database has been placed in a state by an unknown
user that prevents it from being opened or locked.

I keep getting this same error every time I try to open the connection.

I already checked the connection is not alreadey open.

I dowlnloaded and run the JetComp utility but that didn't help.

I tried to re-register msjet32.dll and that DID work, but each time I
rebooted, the problemshowed up again.

Does anyone know how to fix this?

Thanks in advance
 
How are you attempting to open the connection?

How are you closing the connection when your program terminates?
 
Back
Top