Solved

Can't delete the .LDB file in MS Access

Posted on 2004-09-15
8
584 Views
Last Modified: 2012-05-05
Modifications cannot be made to the database.  A sharing violation occurs when you try to save a change to a form.  When I am out of the database there are no other users attached to the database.  Why is it locked and how can I delete the LDB file?
0
Comment
Question by:pgsledder
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 12069149
if you have the right permission, just select it and hit delete. (no other user is using the db)

you cna open it with Word to see who the user is and the machine
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 12069160
make sure everyone is out...then on the machine that hosts the mdb...go to control panel administrtive tools computer management open sessions right click on the ldb disconnect session...

should work
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 12069177
err...

control panel > administrative tools> computer management > shared folders >sessions

0
 

Author Comment

by:pgsledder
ID: 12069366
Tried both of the above.  Neither worked.

1)  If I open the LDB file on the machine that host the file.  It is open by admin, but there is no actual admin account on that PC.  Is this the same as the local system account?

2) If I go to open sessions the LDB file does not show up on the list.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 36

Expert Comment

by:SidFishes
ID: 12070230
ummm...try shared folders Open Files (since that's what it is...doh)
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 125 total points
ID: 12070327
Shutdown the machine that host the file and restart. check if the ldb file is still there
try to delete it again
0
 
LVL 2

Expert Comment

by:grayderek
ID: 12070500
What version of access are you and other users - using
0
 

Author Comment

by:pgsledder
ID: 12088713
Reboot of the server worked.  Sometimes this is not an option.  Would have been nice to fix the problem without a reboot.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now