Error -2147467259: database cannot be opened or locked

  • Thread starter Daniel Carbonell
  • 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
 
D

Douglas J. Steele

How are you attempting to open the connection?

How are you closing the connection when your program terminates?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top