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-11-29T20:42:51+00:00

    Shane,

    Thanks for updating the post. Can you please consider this alternative approach which is based on the disable leasing workaround, but limiting it to one share instead of the entire server? 

    1. Create a folder on the server and place the uncorrupted database in that folder.
    2. Share the folder on the server and give it a share name (e.g., MyDB)
    3. Start Powershell as Admin on the server.
    4. Set the leasing mode for the new share to None with the following commands:

        set-smbshare MyDB -LeasingMode None

        get-smbshare MyDB | Format-List -Property *    (make sure Leasing Mode is set to None)

    1. Restart the server or do NET STOP SERVER then NET START SERVER.
    2. Make sure ALL the client PCs open the database file or point to it in a front-end database using the UNC path for the new share name. If they don't use the right share name, disable leasing will still be on.

    Note: To turn leasing back on if needed (in case of problems):

        set-smbshare MyDB -LeasingMode Full     (then restart the server or do NET STOP SERVER then NET START SERVER)

    If this approach does essentially the same thing to disable leasing for the database files on that share, it will isolate the change to that share. Thus no bad side effects for other functions on the server. Server administrators will be much more likely to implement the change.

    Has anyone else tried this or have any feedback? I have posted it here before and suggested it to some of my customers, but I also made the client change I mentioned earlier, so I cannot say conclusively if this will have the same results as the suggested workaround by Microsoft. I wanted to mention this in case it will help those who can't disable leasing on the entire server.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-11-29T19:20:35+00:00

    @DLyons2,

    The issue you are seeing with update queries is a new problem, introduced with the November 12 Office update, and is unrelated to the ongoing issue being discussed in this thread.

    Fortunately a fix is available for this issue in most versions of Office (and it will be soon for the remaining versions).

    See this link for details: https://support.office.com/en-us/article/access-error-query-is-corrupt-fad205a5-9fd4-49f1-be83-f21636caedec

    Shane

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2019-11-29T19:13:00+00:00

    Hi David,

    The page will be updated shortly based on comments here.

    Thanks for the feedback,

    Shane

    Was this answer helpful?

    0 comments No comments
  4. 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

  5. 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