Solved

Can't delete the .LDB file in MS Access

Posted on 2004-09-15
8
582 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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

747 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

12 Experts available now in Live!

Get 1:1 Help Now