Event ID 1011 — TS Session Broker Server Availability
Applies To: Windows Server 2008
The Terminal Services Session Broker (TS Session Broker) server relies on the Terminal Services Session Broker service to be running in order to perform session load balancing between terminal servers in a farm, and to reconnect a user to an existing session in a load-balanced terminal server farm.
Note: TS Session Broker was formerly called Terminal Services Session Directory.
Event Details
Product: | Windows Operating System |
ID: | 1011 |
Source: | Microsoft-Windows-TerminalServices-SessionBroker |
Version: | 6.0 |
Symbolic Name: | EVENT_JET_COULDNT_INIT |
Message: | The TS Session Broker service failed to start because of a problem during database initialization. Error code: %1. |
Resolve
Delete the files in the tssesdir folder and then restart the Terminal Services Session Broker service
To resolve this issue, do the following:
- Delete the files in the tssesdir folder.
- Start the Terminal Services Session Broker service.
To perform these tasks, refer to the following sections.
Delete the files in the tssesdir folder
The tssedir folder is located in the %systemroot%\system32 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 delete the tssesidr folder:
- On the TS Session Broker server, click Start, click Run, type %systemroot%\system32 and then click OK.
- Open the tssesdir folder, and then on the Edit menu, click Select All.
- Press the DELETE key, and then click Yes.
After you have deleted the files in the tssesdir folder, start the Terminal Services Session Broker service. Starting the Terminal Services Session Broker service will create the necessary files in the tssesdir folder.
Note: If the tssesdir folder does not exist on the TS Session Broker server, see the section titled "Create the tssesdir folder."
Start the Terminal Services Session Broker service
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To start the service:
- On the TS Session Broker server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
- In the Services pane, right-click Terminal Services Session Broker, and then click Start.
- Confirm that the Status column for the Terminal Services Session Broker service displays Started.
Create the tssesdir folder
If the tssesdir folder does not exist on the TS Session Broker server, you will need to create the folder and assign the appropriate permissions to the folder. After you have created the folder and assigned the appropriate permissions, start the Terminal Services Session Broker service so that the necessary files will be created in the tssesdir folder.
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To create the tssesdir folder:
- On the TS Session Broker server, click Start, click Run, type %systemroot%\system32 and then click OK.
- On the File menu, point to New, and then click Folder.
- Type tssesdir, and then press ENTER.
- Right-click the tssesdir folder, and then click Properties.
- On the Security tab, click Advanced, and then click Edit.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
- In the Advanced Security Settings dialog box, click Add.
- Ensure that the computer name is listed in From this location. If the computer name is not listed, click Locations, select the computer name, and then click OK.
- In the Enter the object name to select box, type NT Service\tssdis, and then click OK.
- In Apply to, select This folder and subfolders.
- Under Permissions, select all the check boxes in the Allow column except for the following:
- Full Control
- Read attributes
- Write attributes
- Delete subfolders and files
- Click OK to close the Permission Entry dialog box, and then click OK to close the Advanced Security Settings dialog box.
- If a warning dialog box about changing permission settings on system folders appears, click Yes.
- Click OK to close the remaining dialog boxes.
- Start the Terminal Services Session Broker service. To perform this task, refer to the previous section.
Verify
To verify that the TS Session Broker server is available, ensure that the Terminal Services Session Broker service is running.
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To check the Terminal Services Session Broker service:
- On the TS Session Broker server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
- In the Services pane, locate Terminal Services Session Broker.
- Confirm that the Status column for the Terminal Services Session Broker service displays Started.