ACC: "Record Lock Threshold Exceeded" with Large Action QueryLast reviewed: February 24, 1998Article ID: Q102522 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. If you exceed the maximum number of locks set per connection for the Novell server, you may receive the following error message on the server:
Record Lock threshold exceededThis error can also cause a Netware 3.1x server to stop responding (crash) that doesn't have the TTS fix installed. If you are using Microsoft Access version 2.0 and you have not installed the Service Pack and you receive reserved error -1106, you might try installing the Service Pack before installing the Novell Patch. For more information about the Service Pack, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q122927 TITLE : WX1124: Microsoft Access Version 2.0 Service Pack RESOLUTIONTo work around this behavior, follow these steps. NOTE: The Novell patch mentioned in this article is not needed if you are running Netware version 3.12 or later.
Range Defaults --------------------------- #1 SET Maximum record locks per connection: 10-10,000 default 500 #2 SET Maximum file locks per connection: 10-1,000 default 250 #3 SET Maximum record locks: 100-200,000 default 20,000 #4 SET Maximum file locks: 100-100,000 default 10,000#1 is the setting that should be increased from the default to 10,000. NOTE: This behavior is related to the record locks setting on the Novell server. This behavior is not related to the MS-DOS SHARE.EXE locks setting.
MORE INFORMATIONNOTE: Microsoft Access 97 has two new features that may be helpful when working with large action queries: MaxLocksPerFile is a new Jet 3.5 registry setting and UseTransaction is a new query property. Microsoft Access will split action queries that need more locks than specified by MaxLocksPerFile into multiple transactions. As long as the value for MaxLocksPerFile, default value of 9500, is smaller than the record locks per connection on your Netware server, you won't receive the above error. For more information about MaxLocksPerFile, search for "SetOption," and then "SetOption Method" using the Microsoft Access 97 Help Index. To see the description of MaxLocksPerFile, click "Initializing the Microsoft Jet 3.5 Database Engine" jump at the bottom of the SetOption Method help topic. The products discussed here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.
|
Additional query words: netware 4.1
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |