Event ID 54 — 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.

Event Details

Product: Windows Operating System
ID: 54
Source: Microsoft-Windows-TerminalServices-Licensing
Version: 6.0
Symbolic Name: TLS_E_RESTOREDBFILE_OPENFAIL_SAVED
Message: 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.

Resolve

No further action is required because the existing database will be used

TS Licensing could not open the restored TS Licensing database file. The existing TS Licensing database file will be used instead.

If you want to try to restore the TS Licensing database file again, ensure the following:

  • The file is located in the TS Licensing database folder.
  • SYSTEM, NETWORK SERVICE, Administrators, and TermServLicensing each have Full Control permissions to the file.

To perform these tasks, refer to the following sections.

To perform these procedures, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

Locate the TS Licensing database

By default, the TS Licensing database is located in the %systemroot%\system32\lserver folder (where %systemroot% is the folder in which the operating system is installed, which is, by default, c:\windows).

To confirm the location of the TS Licensing database:

  1. On the license server, open TS Licensing Manager. To open TS Licensing Manager, click Start, point to Administrative Tools, point to Terminal Services, and then click TS Licensing Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the left pane, click All Servers, click the name of the license server, and then on the Action menu, click Review Configuration.
  4. The database location is listed at the top of the Configuration dialog box.

Check permissions to the TS Licensing database file

To check permissions to the database file:

  1. On the license sever, use Windows Explorer to navigate to the folder containing the TS Licensing database.

  2. In the TS Licensing database folder, right-click tslic.edb, and then click Properties.

  3. On the Security tab, ensure that SYSTEM, NETWORK SERVICE, Administrators, and TermServLicensing each have Full Control permissions to the file.

  4. If the permissions need to be changed, click Edit, change the permissions as needed, and then click OK.

    Note:  To add TermServLicensing, ensure that the computer name is listed in From this location, and then in the Enter the object name to select box, type NT Service\TermServLicensing.

Verify

To verify the location of the TS Licensing database, use Review Configuration in the TS Licensing Manager tool. By default, the TS Licensing database is located in the %systemroot%\system32\lserver folder (where %systemroot% is the folder in which the operating system is installed, which is, by default, c:\windows).

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To verify the location of the database folder:

  1. On the license server, open TS Licensing Manager. To open TS Licensing Manager, click Start, point to Administrative Tools, point to Terminal Services, and then click TS Licensing Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the left pane, click All Servers, click the name of the license server, and then on the Action menu, click Review Configuration.
  4. The database location is listed at the top of the Configuration dialog box.

Use Windows Explorer to navigate to the folder containing the TS Licensing database to confirm its existence and that it contains the tslic.edb file.

Terminal Services License Server Database Availability

Terminal Services