Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Glenley is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    91

    Access not opening

    I recently got a new laptop and when i try to open my DB file, at random times it will create the .laccdb file but not actually open. This renders my DB file inoperable because access sees it as being open but the program never actually opens when this happens. Luckily, i create several backup copies any time I update my DB but this is a problem. Anyone else had this happen? Or know how to fix this problem? I always compile my DB files before distribution.



    Thanks

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,425
    I'd say it must be open or else the lock file would not be created. Take a look in Task Manager (perhaps ctl+shift+esc for you) and see if you have more than one listing for that db. Perhaps there is a conflict.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,570
    Did you change bitness in your app when installing on the new computer?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    Glenley is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    91
    Task manager doesn’t show it as being open

  5. #5
    Glenley is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    91
    I’m not even sure how I could do that. Where do you check that?

  6. #6
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,941
    Try opening with the shift key down to bypass any opening code. Just wondering if you have startup code causing an issue

    also what version of access were you using previously and what are you using now

    I’m not even sure how I could do that. Where do you check that?
    same place - in access file tab. Depends on you current version, might be under help or account

  7. #7
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,425
    Quote Originally Posted by Glenley View Post
    Task manager doesn’t show it as being open
    Forgot to mention that it could appear in the list of background processes and not Apps. I have a similar issue with Outlook. When it fails to launch it is always listed in processes. When I delete it, Outlook then opens.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  8. #8
    Glenley is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    91
    I'm running MS 365, same as my old laptop and I don't see it in my background processes. I have an autoexec macro running at startup, I'll try bypassing that. The issue with that is the problem only happens at random times so I won't know for sure if that's solving the problem. I'll give it a shot though

  9. #9
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,570
    If it is at random times, then perhaps it is a data issue?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  10. #10
    Glenley is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    91
    I tend to think it's either an Access or Windows issue because the opening process stops as soon as the .laccdb file is created. It's quitting before the data is accessed. For some background, I'm working with tables linked to SharePoint

  11. #11
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,425
    It may be doing an abnormal termination, leaving the lock file in place - as if you pulled the pc plug.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  12. #12
    Glenley is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    91
    Micron, do you have any ideas on what could cause that? I’ve considered re-installing Access but I’d really like to understand what’s causing it

  13. #13
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,570
    Have you looked in the Event Manager for any clues?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  14. #14
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,425
    Quote Originally Posted by Glenley View Post
    Micron, do you have any ideas on what could cause that? I’ve considered re-installing Access but I’d really like to understand what’s causing it
    Sorry, no. Since I'm a 365 subscriber, the first time it happened I got on line support. They did an install of 64 bit office. Whoops, says I. I don't want 64, I want 32. Did another removal and install. Problem gone until next time. That's when I found Outlook in processes and not apps where it should be. So the point is, the re-install didn't solve that so I wouldn't put a lot of faith in it if you're planning that as a solution. You haven't said you have the same condition though?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  15. #15
    Glenley is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Dec 2021
    Posts
    91
    Micron, it happened again today and you were right. I found it in the background processes in task manager. Manually ended the task which allowed me to delete the .laccdb file and was able to re-open the file. Did you ever figure out what was causing it?

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 07-12-2021, 08:02 AM
  2. Opening 2010 Access DB with Access 2013
    By dl48 in forum Access
    Replies: 2
    Last Post: 08-19-2015, 03:55 PM
  3. Replies: 4
    Last Post: 07-06-2012, 07:46 AM
  4. Opening Access 2000 file in Access 2010
    By Jacob in forum Access
    Replies: 10
    Last Post: 02-12-2011, 06:56 AM
  5. Replies: 32
    Last Post: 09-16-2009, 10:06 AM

Tags for this Thread

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