ACC: "Record Lock Threshold Exceeded" with Large Action QueryID: Q102522
|
Advanced: 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 exceeded
To 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: 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
Keywords : kb3rdparty kberrmsg GnlMu
Version : WINDOWS:1.0,1.1,2.0,7.0,97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: July 15, 1999