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-03-30T17:13:26+00:00

    Wow!  Thanks for the detailed answer.  I'm going to study this and check my app for any of those conditions.  I did modify all the update queries after the query error fiasco but this is a different scenario.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-03-30T16:04:52+00:00

    I began outlining the list of every query and its type from these procedures and macros in their order to further study this conundrum.  There are dozens, so hopefully over the next several days I can work thru this and test to see if any other patterns can be discerned.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-03-30T15:38:20+00:00

    The queries were delete or update queries to tables in the backend that would generate the error.

    But the issue appeared to be when a certain threshold or number of such queries in succession was executed. Using DoEvents or other delay procedures did not make any difference.

    1. The initial test where the one to initiate the queries was not the first user in, the error would always hit on the same query.
    2. If that query was skipped the next query would cause the error.
    3. The group was than divided into three separate groups. 

      Any one group by itself would work fine.  But any two would produce the error.

    Other notes:  (Some of these were noted in a previous post)

    1. If the user was the first one in and others were logged in, the set of queries/macros would work fine.
    2. If another user was logging in while the queries/macros were running, it would produce the error.
    3. If the LBDviewer was used to see the users, the advantage of being the first user in seemed to be lost; ie if they initiated the queries/macros after the LBDviewer was used, it would produce the error.

    All these scenarios could be reproduced over and over.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-03-30T14:46:15+00:00

    Can you give us examples of the types of queries that are associated with the problem?  That would be most helpful.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2020-03-30T14:00:55+00:00

    Hi George!

    With a split database, I thought it was always best practice that everyone is using the same version of Access.

    Regarding our database, we identified the string of queries/macros that were working just fine before the Microsoft update, but now would produce the inconsistent error, if the user initiating this was not the first one in the database. 

    SO, we setup procedures so that before this set of queries/macros was initiated, all users' sessions would be closed, and the user initiating the process re-opened.  Others would be prevented from logging in until the process had completed.

    Since it is something done usually first thing in the morning, it has worked out without much disruption.

    There may be an occasional inconsistent error, but the above has remedied 95% of the problem for us.  (Use to be years between inconsistent errors)

    Still looking for a resolution from Microsoft.  If anyone knows where or who we could send a split database sample, it demonstrates the issue as often as they would like to perform it.

    Was this answer helpful?

    0 comments No comments