By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,509 Members | 2,234 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,509 IT Pros & Developers. It's quick & easy.

access database locked, can't compact, no current users

P: 3
When I have gone to compact an acces database I get an error message saying that a user is still using it, but all (2) applications had been closed (but one may not have closed properly). I have done this every day for the last 5 years without trouble !

How do I recover from this ?, do I just delete the lock file or how ?

suggestions will be very welcome !

thanks
Oct 8 '07 #1
Share this Question
Share on Google+
4 Replies


missinglinq
Expert 2.5K+
P: 3,532
When I've run into an ldb file that persists, I've always ended up having to shut down my machine and boot back up before I could delete the file.

BTW, shutting down a database incorrrectly can cause this problem, but more importantly, in a multi-user environment, it is considered to be a major cause of database corruption! Users should be warned of this fact!

Welcome to TheScripts!

Linq ;0)>
Oct 8 '07 #2

P: 3
When I've run into an ldb file that persists, I've always ended up having to shut down my machine and boot back up before I could delete the file.

BTW, shutting down a database incorrrectly can cause this problem, but more importantly, in a multi-user environment, it is considered to be a major cause of database corruption! Users should be warned of this fact!

Welcome to TheScripts!

Linq ;0)>
thanks for the reply Linq

I did find this which I think I will try
Oct 8 '07 #3

missinglinq
Expert 2.5K+
P: 3,532
Let us know how it works out!

Linq ;0)>
Oct 8 '07 #4

P: 3
Let us know how it works out!

Linq ;0)>
got it sorted, didn't have to use the script, it managed to sort itself out and allowed me to compact and repair it, now all on song again :)

nice to have found this forum though, very useful when in times of need !

cheers
Oct 9 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.