Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 23rd, 2011, 04:09 PM
Friend of Wrox
Join Date: Sep 2010
Posts: 245
Thanks: 5
Thanked 24 Times in 23 Posts

Curious, How big is the database?

After open lots of objects in design mode the database can bloat significantly. If it get to the 2 gig limit you will have all kinds of issues. It is common to have database corruption when this happens.

If the database if very large even after compacting then you will have to be very careful and watch the file size..
Boyd Trimmell aka HiTechCoach (.com)
Microsoft Access MVP Alumni 2010-2015
Old August 3rd, 2018, 02:44 AM
Authorized User
Join Date: May 2017
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Wink Fixes To Resolve MS Access 3052 :“File Sharing Lock Count Exceeded” Error

Is it the case that many tables in the Access database are actually linked external references (e.g. dBASE or Excel)? Another possibility is that several users have the database open at the same time. For both cases you can solve the problem by making a simple change in the registry.

Open the program regedit.exe (using Start->Run) and navigate through HKEY_LOCAL_MACHINE to

SOFTWARE\Microsoft\Jet\4.0\Engines\Jet 4.0

Increase the value here for the entry MaxLocksPerFile to a number that is twice or three times (maybe even more) the current value.

For further information regarding this, just check out the following link:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling Simple File Sharing in Windows XP. firblazer BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 April 14th, 2008 12:10 PM
Received sharing violation occur on .php file Snowby Pro PHP 0 April 9th, 2008 08:18 AM
How to lock certain excel file into one pc? kevinace Excel VBA 1 May 16th, 2007 03:50 PM
lock folder or file siva_garlapati Biztalk 2 January 16th, 2006 09:23 AM
error 1222: lock request time out exceeded jpenn SQL Server 2000 1 October 25th, 2004 10:05 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.