Re: The .ldb file does not always go away on DB close

Tech-Archive recommends: Fix windows errors by optimizing your registry



Most common cause: If the person using the database does not have delete permissions in the folder containing the database, then the ldb file cannot be deleted when that person is the last person to exit the database.

If the person does have permissions but abnormally quits the database - unplugs the computer, control+alt+deletes and kills the Access application - then the ldb file won't get deleted.

If the application crashes then often the ldb file won't get deleted.

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County

Heather wrote:
But why does the .ldb not always go away? On close it should go away but it is not.

"Joan Wild" wrote:

If the last person out of the database doesn't have delete permission (Windows permission) on the folder, then they can't delete the ldb file, and it remains.

Joan Wild
MS Access MVP


Heather wrote:
Hello,

Can someone tell me why the .ldb file does not always go away? Sometime I just have to delete it but I would like to know why because it is happens a lot.

Thanks
.



Relevant Pages

  • Re: .ldb files
    ... Unless the users have full rights to the folder that the database ... meaning that if a .ldb file exists (Someone has ... so opens the file as read only). ...
    (microsoft.public.access.security)
  • Re: Can I make Linked Table Read-Only
    ... mdb, it tries to create an ldb file with the same name. ... permissions, you can open the mdb, but if you don't have write permissions, ... I understand your concern about using another department's folder. ... .LDB file, however, the others still get a "file is in use" error and can not ...
    (microsoft.public.access.gettingstarted)
  • RE: The database has been placed in a state...
    ... Could not having delete permissions have something to do with ... Also, from what I understand, the ldb file is created when the database ... he closes it, let's everybody open it in their computers, then he opens it ...
    (microsoft.public.access.security)
  • Re: Could not update; currently locked error
    ... Definitely permissions are not the problem because I see the .ldb file being ... If I understand right if Jet is single-threaded I can synchronize my threads ... I use ADO to access the database. ...
    (microsoft.public.data.ado)
  • Re: Folder security set up
    ... All users who have access to the folder will be able to update the ... database but right now the way the permissions are set up all users ... Is an LDB file still used if users ... access the database via Data Access Pages? ...
    (microsoft.public.access.security)