Solved

Changing File Sharing Lock Count in Access 2010

Posted on 2011-03-15
2
1,168 Views
Last Modified: 2013-11-29
I normally use Access 2007 and have run into the File Sharing Lock Count issue and have fixed this using by changing the Registry (HKEY_Local_Machine\SOFTWARE\Microsoft\Office\12.0
Access Connectivity Engine\Engines\Ace\MaxLocksPerFile)

I do not see this sequence when working with Access 2010.
0
Comment
Question by:jaustinr
2 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 63 total points
ID: 35139620
Should be:

HKEY_Local_Machine\SOFTWARE\Microsoft\Office\14.0
Access Connectivity Engine\Engines\Ace\MaxLocksPerFile

JimD.
0
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Access MVP)
DatabaseMX (Joe Anderson - Access MVP) earned 62 total points
ID: 35139659
I suggest you use VBA to change this setting on a 'per session' basis only, and not mess with the Registry for this, which my not be possible on some user machines.  

Put this at the beginning of your code for a temporary override of the Default:
DAO.DBEngine.SetOption dbmaxlocksperfile, 25000  ' or higher if necessary

This works very well  ... in any version of Access.

mx
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question