You receive an "File sharing lock count exceeded" error message when you synchronize two replicas in Access 2000 (198633)
The information in this article applies to:
This article was previously published under Q198633 For a Microsoft Access 97 version of this article,
see
173006. IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry
Advanced: Requires expert coding, interoperability, and
multiuser skills. SYMPTOMS When you synchronize two replicas, you may receive the
following error message: Synchronization between
'<Replica1.mdb>' and '<Replica2.mdb>' failed.
File
sharing lock count exceeded (Error 3052). The error may also occur
when you run a Visual Basic for Applications procedure that uses the Synchronize method. CAUSE A member of the replica set contains too many changes for
synchronization to be completed successfully. For example, if one of the
replicas has increased in size by 100 megabytes (MB) because you have added a
large number of new records, you may receive this error. The replica that
contains too many changes may be the database from which you are trying to
synchronize, or it may be another member of the replica set. RESOLUTION In Microsoft Access 2000, you can take advantage of a
feature that allows you to increase the MaxLocksPerFile setting for Microsoft
Jet database engine 4.0 by editing the Windows Registry. The default value of
this setting is 9500. However, changing this value is not recommended if one of
the replicas is located on a Novell Netware server, because the server's
maximum record locks per connection is 10000. If both replicas are located on
servers running Microsoft Windows NT 4.0 or Microsoft Windows 95 or later, the
maximum value of this setting is limited only by available
resources. WARNING: If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system. Microsoft
cannot guarantee that you can solve problems that result from using Registry
Editor incorrectly. Use Registry Editor at your own risk. - Quit Microsoft Access.
- Click Start and then click Run.
- In the Open box, type regedit.
- Locate the HKEY_LOCAL_MACHINE registry folder.
- Expand HKEY_LOCAL_MACHINE until you locate the
SOFTWARE\Microsoft\Jet\4.0\Engines\Jet 4.0 folder.
- Click on the Jet 4.0 folder to view its
contents.
- Select the MaxLocksPerFile entry; on the Edit menu, click Modify.
- In the Edit DWORD Value dialog box, select Decimal and increase the number in the Value Data box.
- Click OK to save the MaxLocksPerFile setting.
- Quit the Registry Editor.
- Start Microsoft Access and synchronize the
replicas.
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
REFERENCESFor more information about MaxLocksPerFile
setting, click Microsoft Access Help on the Help menu, type Initializing the Microsoft Jet 4.0 Database Engine Driver in the Office Assistant or the Answer Wizard, and then click Search to view the topic. For additional
information about replication, please see the following article in the
Microsoft Knowledge Base: 190766 Jet 4.0 Replication White Papers Available in MSDN Online Library
Modification Type: | Major | Last Reviewed: | 7/29/2004 |
---|
Keywords: | kbDatabase KbVBA kbJET kbbug kberrmsg kbnofix KB198633 |
---|
|