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
    2020-04-22T07:20:00+00:00

    Interesting. I'll have to give this a try. I did move the .accdb to another folder on the network, which worked great for a few months. Then the Coronavirus/Work at home situation put a nix on things then the daily database corruption issues started happening again.

    Really wish MS would come out with a permanent fix, instead of all these workarounds. Access is a great, inexpensive db solution and VBA isn't a major pita to learn. I really hope MS isn't giving Access a slow death like FoxPro (that was a great product too).

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-04-21T14:49:54+00:00

    I incorporated the registry change into my setup program. I use the Wise Installation System, but am in the process of switching to InstallAware soon. Both have a scripting language that includes a command to update the registry. My current setup does require running the setup.exe as administrator. I don't have any VBscript code to give you to accomplish the same thing. However, you can place the commands into a .bat file and execute that. As described in other posts, you need to make the registry change on each Windows 10 client PC that uses the database in question.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-04-21T14:19:12+00:00

    Don't forget that corruption can also exist outside of the current bug and such corruption can lead to data loss.  Corruption is unpredictable.  I've seen entire databases corrupted beyond any recovery.  This is why backups are critical!

    Running any Access database over VPN is asking for trouble and corruption.  Access is ONLY meant to be run over a LAN.  Everything else is a risk, VPN is one of the highest risks for encuring corruption just by its nature.

    You should always make a backup prior to compacting.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-04-21T14:06:52+00:00

    My experience was as follow:

    General corruption: can go both way, but usually without record loss.

    "windows 10 corruption issue" discussed in this thread:

    • If the database is closed and repaired right after the corruption occurs, then I usually don't loose any data.

    -If users keep capturing data after the corruption has occurred (after the first error message occurs), then these records are usually lost, will look like #### in the back-end.

    Via VBA, I force the application to close and put it under maintenance (keep users out) whenever the error 3343 or 3049 occur.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2020-04-21T13:55:02+00:00

    Hi George,

    Yes, MDB back-ends and ACCDB/ACCDE front-ends will work together. The opposite (ACCDB back-end and MDB/MDE front-end) does not work.

    I used to have multiple Applications, some with an MDB back-end, some with an ACCDB back-end. I had corruption issues for a whole year, after moving from W7 to W10. Then, I realised that only the ACCDB back-ends were getting corrupt.

    Since I made the change to MDB back-ends, 2 months ago, I've had no corruptions at all. Working from home via VPN did not change anything to that.

    Replacing DoCmd.RunSQL with DoCmd.OpenQuery did reduce the occurrence of the problem, but did not fully solve it.

    It could also be that something on the server side (shared-folders containing back-ends) was changed on the IT side, without my knowledge. But I'd say that the MDB trick is worth a try.

    Was this answer helpful?

    0 comments No comments