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-03-08T21:52:11+00:00

    Margaret,

    I am not an expert in Powershell. I don't think you need Server 2016. Perhaps it is the version of Powershell you are using. If you try these command under Windows 10 you will see they work. I may also try the other approach suggested to change the Windows 10 clients using the file:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]

    "FileInfoCacheLifetime"=dword:00000000

    "DirectoryCacheLifetime"=dword:00000000

    "FileNotFoundCacheLifetime"=dword:00000000

    This approach is more easily implemented in my setup program if it works and does not require server changes. I would be curious to see how either approach works out for you.

    Mark

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-03-07T22:56:08+00:00

    I haven't done that yet. My plan is to do that as soon as the user lets me on her PC and I'm hoping that will be sufficient to fix it without doing anything to the server.

    Thanks,

    Margaret

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2019-03-07T22:38:51+00:00

    Margaret,

    I ran the registry edit on the workstations only and it solved my issue (past 6 weeks) without any slowdowns.

    Has this fix not worked for anyone?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2019-03-07T18:16:26+00:00

    I didn't want to run that on the server as it's our file server for the entire organization. I didn't want to change those settings for everything. That's why I liked Mark's answer about the Leasing Mode and wish that worked.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2019-03-06T23:34:20+00:00

    I do not understand how you are able to disable leasing mode in SMB. LeasingMode is not a parameter for the set-smbshare command. Here's what I get when I try to run it:

    PS C:> set-smbshare Database-No-Lease$ -LeasingMode None

    Set-SmbShare : A parameter cannot be found that matches parameter name 'LeasingMode'.

    At line:1 char:33

    • set-smbshare Database-No-Lease$ -LeasingMode None

    +                                 ~~~~~~~~~~~~

        + CategoryInfo          : InvalidArgument: (:) [Set-SmbShare], ParameterBindingException

        + FullyQualifiedErrorId : NamedParameterNotFound,Set-SmbShare

    And when I run the get-smbshare command you describe, leasingmode is not a property that is listed.

    I've been Googling this trying to puzzle it out but finding nothing useful. I am running this on a 2012R2 server. It has SMB v1, 2 and 3 running on it. Does this require Server 2016 to run your command?

    -Margaret

    Was this answer helpful?

    0 comments No comments