Terminal Services License Server Database Availability

Applies To: Windows Server 2008

When the Terminal Services Licensing (TS Licensing) role service is installed, a database is created in which to hold information about the Terminal Services client access licenses (TS CALs) that are installed onto the license server.

The location of the TS Licensing database can specified during the TS Licensing role service installation. The database location must be a local folder on the computer on which the TS Licensing role service is being installed. By default, the TS Licensing database is located in the %systemroot%\system32\lserver folder. You can confirm the location of the TS Licensing database by using Review Configuration in the TS Licensing Manager tool.

Events

Event ID Source Message

9

Microsoft-Windows-TerminalServices-Licensing

The TS Licensing database file is not valid. This file has been renamed to "%1!s!", and the license server will start up with an empty database file. To resolve this issue, ensure that the required groups are granted the correct permissions to the LServer directory, and then reinstall the Terminal Services client access licenses (TS CALs). If the problem persists, rebuild the TS Licensing database and call the Microsoft Clearinghouse. When you call the Clearinghouse, ensure that your License Purchase Agreement information is readily available.

24

Microsoft-Windows-TerminalServices-Licensing

The TS Licensing database is not consistent. All Terminal Services client access licenses (TS CALs) will be removed. To resolve this issue, rebuild the TS Licensing database and call the Microsoft Clearinghouse. When you call the Clearinghouse, ensure that your License Purchase Agreement information is readily available.

25

Microsoft-Windows-TerminalServices-Licensing

The TS Licensing database does not belong to this Terminal Services license server. The Terminal Services license server will update the database table to take ownership of the database and all Terminal Services client access licenses (TS CALs) will be removed.

44

Microsoft-Windows-TerminalServices-Licensing

The following general database error has occurred: "%1!s!"

47

Microsoft-Windows-TerminalServices-Licensing

The TS Licensing database is corrupt. TS Licensing could not rename the TS Licensing database file "%1!s!" to create a backup. Rename the file manually and restart the Terminal Services Licensing service. To reinstall the Terminal Services client access licenses (TS CALs), you will need to call the Microsoft Clearinghouse. When you call the Clearinghouse, ensure that your License Purchase Agreement information is readily available.

48

Microsoft-Windows-TerminalServices-Licensing

The Terminal Services Licensing service is starting up with a restored database file.

49

Microsoft-Windows-TerminalServices-Licensing

The restored TS Licensing database file "%1!s!" cannot be moved to the database directory. The Terminal Services license server will use an empty database file. Ensure that the required groups are granted the correct permissions to the LServer directory. Rebuild the TS Licensing database and call the Microsoft Clearinghouse. When you call the Clearinghouse, ensure that your License Purchase Agreement information is readily available.

51

Microsoft-Windows-TerminalServices-Licensing

A backup copy of the TS Licensing database cannot be created and the restored database file will be ignored. The Terminal Services license server will start up with the existing database file.

52

Microsoft-Windows-TerminalServices-Licensing

The existing TS Licensing database file has been saved as "%1!s!". The Terminal Services Licensing service has started with the restored database file.

53

Microsoft-Windows-TerminalServices-Licensing

Can't open restored database file. TS Licensing will use existing database file.

54

Microsoft-Windows-TerminalServices-Licensing

Can't open restored database file. A copy of the restored database file has been saved as %1!s!. TS Licensing will use the existing database file.

55

Microsoft-Windows-TerminalServices-Licensing

The existing TS Licensing database cannot be restored from its backup copy. To resolve this issue, ensure that the required groups are granted the correct permissions to the LServer directory, and then reinstall the Terminal Services client access licenses (TS CALs). If the problem persists, rebuild the TS Licensing database and call the Microsoft Clearinghouse. When you call the Clearinghouse, ensure that your License Purchase Agreement information is readily available.

4100

Microsoft-Windows-TerminalServices-Licensing

The TS Licensing database might be corrupted. To resolve this issue, ensure that the required groups are granted the correct permissions to the LServer directory. If the problem persists, rebuild the TS Licensing database and call the Microsoft Clearinghouse. When you call the Clearinghouse, ensure that your License Purchase Agreement information is readily available.

8197

Microsoft-Windows-TerminalServices-Licensing

The TS Licensing database path could not be set to "%1!s!" during the installation of TS Licensing.
Win32 error code: %2!s!

8198

Microsoft-Windows-TerminalServices-Licensing

The TS Licensing database path was successfully set during the installation of TS Licensing.

TS Licensing

Terminal Services