maxlocksperfile Error

Nir Segal 1 Reputation point
2021-03-23T15:54:50.513+00:00

Hello support team I have error appear on every second run "Maxlocksperfile" error windows 10 office 2016 access with VBA and DAO with microsoft office 16 library referance I change the registry from 9500 to 40000 and not help can you help?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,606 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nir Segal 1 Reputation point
    2021-03-24T12:42:02.947+00:00

    Hello SunnyQi-MSFT
    Its looks that the problem is solved by VBA next command:
    DAO.DBEngine.SetOption dbMaxLocksPerFile, 15000
    Nir