When converting very large files to sdltb, you may get a crash with the error File sharing lock count exceeded. Increase MaxLocksPerFile registry entry. This appears to be be a bug in MultiTerm or MS Access. Note that this is not about whatever version you have in your regular Office installation, but about an old version that comes as part of MultiTerm.


From the original, now disappeared Microsoft KB article:


----------------------------------------------------------------------------------------------------------------

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

Steps to  increase the maximum number of locks per file:

  1. Click Start, and then click Run.
  2. Type regedit, and then click OK.
  3. Locate the following registry key depending on your Access installation:
    • For Windows 32 bit

HKEY_LOCAL_MACHINES\SOFTWARE\MicrosoftJet\4.0\Engines\Jet 4.0

    • For  Windows 64 bit

HKEY_LOCAL_MACHINES\SOFTWARE\Wow6432Node\MicrosoftJet\4.0\Engines\Jet 4.0

  1. In the right pane of Registry Editor, double-click MaxLocksPerFile.
  2. On the Edit DWORD Value dialog box, select Decimal.
  3. Modify the value of the Value data box as required, and then select OK.

Note that this method changes the registry setting for all applications that use Microsoft Jet database engine version 4.0.

----------------------------------------------------------------------------------------------------------------


I used a value of 40,000 to convert a termbase with 170,000 entries, so that could be a starting point.


Once the registry is set, before the conversion, reboot your machine, to ensure that any potential locks are released.


This method does not always work, but has a good success rate.


I also had reports that these steps may help:

  • Increase locks as above
  • Use the Converter to create xdt/xml files
  • Use MultiTerm to create a new termbase based on the xdt file
  • In MultiTerm, import the xml file


Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites