Results 1 to 6 of 6
  1. #1
    movertom is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2015
    Location
    Chicago
    Posts
    3

    How to troubleshoot a .lck file issue to pinpoint the user


    I help run the web sites at work, and I have a situation that I would appreciate advice on concerning our Access database that stores our data. Throughout the day we have leads posting to our Access 2010 database on our Internet sever. All too often I am observing that the temporary .ldb file persists, and as a consequence, I start receiving complaints that workers accessing the database through a CRM are unable to update their work. In response I have had to restart the web service in order to eliminate the lock file. I have read that the .ldb file can be opened with a hex editor upon, for the purposes of determining what user might have been accessing the database at that time. However, when I follow that process the only info present within the file is the user Admin and the Server Name. This is obviously of no value for troubleshooting. Thanks in advance for any insight you can provide on this issue.
    Last edited by movertom; 06-01-2015 at 10:28 AM. Reason: to correct typos

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I am not aware of a way to use an lck file against an Access file. I would expect the lock file to be an laccdb or ldb.

    Are you sure the backend that resides on the web server is an Access file?

  3. #3
    movertom is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2015
    Location
    Chicago
    Posts
    3
    I apologize. In my haste I made an error. The temporary file extension is .ldb.

  4. #4
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    This will depend on what OS your network uses, but if you are in a normal Windows environment, you can probably go into the directory where the .ldb file is, and determine the owner (from the OS viewpoint, not MS Access) of the .ldb file.

    In Windows Explorer (not to be confused with IE), this is View - Choose Details..., and then select Owner from the list. The Owner of a file is the user who originally created it, in your case the last user who created that .ldb file.

    What you can then do is check the access privileges for that user in the directory - it could be they do not have delete permission, so the file persists.
    Last edited by John_G; 06-01-2015 at 12:22 PM. Reason: fix typos

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    To add to John's comment. Consider how the user is connecting to the host from the client. When data is posted, you do not want to keep a persistent connection. If a connection is interrupted, it will orphan the ldb.

  6. #6
    movertom is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2015
    Location
    Chicago
    Posts
    3
    Thank you!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 13
    Last Post: 12-12-2013, 07:22 PM
  2. Replies: 2
    Last Post: 07-02-2013, 06:42 AM
  3. MSysCompactError - How to troubleshoot?
    By Buakaw in forum Access
    Replies: 1
    Last Post: 07-13-2011, 06:11 AM
  4. How to troubleshoot query?
    By Buakaw in forum Queries
    Replies: 3
    Last Post: 01-15-2011, 01:49 AM
  5. Troubleshoot NotInList Event Procedure
    By skyrise in forum Programming
    Replies: 4
    Last Post: 02-23-2009, 06:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums