Terminal Services Licensing Service May Not Start and Event ID 43 May Be Logged (310122)



The information in this article applies to:

  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Datacenter Edition

This article was previously published under Q310122
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

SYMPTOMS

The Terminal Services Licensing service may not start on large databases and event ID 43 may be logged with the following description:
Work Manager error Can't Startup work scheduler, Error code -1072167891

CAUSE

This behavior occurs because the Microsoft Jet database engine transactions can use a lot of memory on a large database (a database that is larger than 80 megabytes [MB] in size). Having a transaction hang (run for a long time before committing) or perform many modifications can cause Jet to consume the available version store.

MORE INFORMATION

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.

A new registry key is included in Windows Server 2003 to tune the default memory resources that are necessary for version store in Jet transactions. The version store keeps a list of changes that are made to the database since the latest transaction began. To tune memory resource that is necessary for version store in Jet:
  1. Start Registry Editor (Regedt32.exe).
  2. Locate and click the following registry key:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TermServLicensing\Parameters

  3. On the Edit menu, click Add Value, and then add the following registry value:

    Value name: MaxVerPages
    Data type: REG_DWORD
    Radix: Decimal
    Value data: 1024
    Range is from Minimum 256 to a Maximum: 2048

  4. Quit Registry Editor.

Modification Type:MajorLast Reviewed:6/5/2003
Keywords:kbenv kberrmsg kbprb KB310122