Access Database is getting corrupt again and again

Anonymous
2018-06-01T17:47:41+00:00

We have an application which was working okay till last month. But after the last windows update our clients are getting issues with access database. access database got corrupted.  We ran compact and repair. But it still getting corrupted again and again.  This issue started right after the window update. clients are on different OS. Like server 2018, server 2012 and windows 10.

Is there anything i have check in new windows update or any other step to prevent database corruption?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

604 answers

Sort by: Most helpful
  1. Anonymous
    2019-12-14T19:17:45+00:00

    Sadly, 18+ months now, and MS can't even reliably reproduce the issue, so an actual fix ... Not sure we'll ever get one.

    IMHO, you have 2 choices, switch backends (SQL server Express, Azure, ...), switch technologies altogether.  I just finished migrating another client from Access to MySQL/PHP with great results and no more issues. 

    How Microsoft can expect users to wait around indefinitely?!  Microsoft software, Access in particular, has become too unstable to now rely on.  Very sad state to be in.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-12-14T18:38:31+00:00

    jondenney1,

    Well, not sure what else you can do except keep visiting Daniel's page on the issue.  Sorry that didn't work for you.

    Was this answer helpful?

    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Anonymous
    2019-12-13T16:16:28+00:00

    jondenny1,

    Hmm, interesting.  In the case where only machine was crashing I applied the workaround directly to that machine and that solved the problem for the one.  (The many were solved when applied to the Server).  Have you tried that?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2019-12-13T15:53:12+00:00

    The only thing that needs to be done is the Disable Leasing registry hack on the server hosting the back-end file. (Implementing multiple fixes may cause other issues, who knows what exactly)

    If after that you are still experiencing corruption, than this, IMHO, will be genuine corruption, not related to the bug.

    I'd start by importing everything into fresh database containers and see if that helps any.  Ensure that the VBA is using Option Explicit everywhere and compiles without errors.  Ensure everyone is on a common wired LAN (no wireless!, no Dropbox, OneDrive or GoogleDrive ..., ect.).  Ensure a persistent connection is establish at the very startup of the front-end.  And so on ...

    Daniel, thanks for reminding me to create a persistent connection.  I'll include that in my next update.  That said, I did have one application with a persistent connection crash the back-end data file.  The front-ends never crash, only the back-ends.

    Was this answer helpful?

    0 comments No comments