Cannot Register Execution Server

PROBLEM

I cannot register a machine as an Execution Server. The Register button is grayed out and the message reads:

 

Unable to find local service!

 

SOLUTION

There likely was a Scheduling server previously configured on that machine. As a result, the Execution Server is trying to connect to this local Scheduling Server by default. This implementation is intended to make it easier to configure Scheduling.

 

The solution is to manually turn off this default setting. First, locate the Scheduling configuration file:

 

Windows 7

  • C:\ProgramData\Telerik\Configs\Telerik.TestStudio.Scheduling.WindowsService.exe.Config

 

Windows XP/Server 2003

  • C:\Documents and Settings\All Users\Application Data\Telerik\Configs\Telerik.TestStudio.Scheduling.WindowsService.exe.Config

 

Open it with a text editor, like Notepad, and change the following setting:

 

<add key="IsServerContext" value="False">

 

It should be set to True by default. Change it to False. Here is the context:

 

<appSettings>
<add key="TimerElapsedTime" value="60000"/>
<add key="IsDatabaseCreated" value="True"/>
<add key="RootFolderPath" value="C:\Temp\Output"/>
<add key="IsMachineRegistered" value="False"/>
<add key="ScheduleServerUrl" value="http://MACHINENAME:8009/TestStudio/SchedulingService"/>
<add key="IsInitialConfig" value="True"/>
<add key="IsServerContext" value="False"/>
<add key="MachineId" value="026cdcf6-b879-40bd-bc20-63449f1e5ec2"/>
<add key="ResultsFolder" value="C:\Temp\RunResultsData"/>
<add key="ClientSettingsProvider.ServiceUri" value=""/>
<add key="DBVersion" value="9"/>
</appSettings>