Results 1 to 7 of 7
  1. #1
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    2,097

    Locked files


    I cannot any longer delete the "in use" file after some sort of abnormal termination of an app during development. Is that new in A2013? I have to reboot my computer to get it to clear (delete).

    Click image for larger version. 

Name:	0.jpg 
Views:	23 
Size:	10.0 KB 
ID:	45424

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    You should open the task manager (CTRL+ALT+DEL) and kill any running MSAccess.EXE processes left running then you should be able to delete the locking file.
    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  3. #3
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    2,097
    Yes, that was my first thought, but there are no access tasks running when viewed in the Task Mgr

  4. #4
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    I had this problem in a NAS network. Network admin tweaked some sort of setting - seems that inactive files were not being purged expediently. He had the power to delete such files though. When he did I said "Thanks. I'll just call you when it happens again." That's all the incentive he needed to fix the problem. Perhaps the root cause is why the Access db is not being terminated properly by somebody.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,558

  6. #6
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    2,097
    If my error handlers can't dynamically fix a sever error, after displaying as much info as available, the code executes a DoCmd.Quit. If that's not enough to properly close the DB then I need to be enlightened. In my limited experience, such errors that cause the DB to Quit usually only happen during initial code development.

  7. #7
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    2,097
    Thanks, I'll run the special explorer the next time I encounter the issue. It could be a NAS problem as mentioned by Micron. Good info here, I'll get to the bottom of the issue.

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

Similar Threads

  1. Replies: 0
    Last Post: 02-06-2021, 05:25 PM
  2. Replies: 1
    Last Post: 04-10-2019, 11:39 AM
  3. Replies: 4
    Last Post: 07-21-2017, 01:07 PM
  4. Replies: 2
    Last Post: 08-01-2014, 09:29 PM
  5. Replies: 1
    Last Post: 02-21-2011, 09:55 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