I recently was setting up Lab Management in 2013 TFS/VS. I ran into this error when preparing the vm for the environment. TF259641: To use the environment, you must install a compatible test agent in all machines of the environment.
I did what was suggested and reinstalled the test agents and I kept getting the same error. I searched around and found various answers, but nothing seemed to be accepted as a real good answer. I finally ran across this post and I read through it and I decided to try it. It is talking to an earlier version, but I tried it.
This is a blurb below from the answer that is found here.
This is talking about a server with multiple nics, but I had a single nic. Soon as I applied the fix, it worked perfectly.
Stop the controller service. To do this, run the following command at a command prompt:
net stop vsttcontroller
- In Notepad, open the QTController.exe.config file. This file is located in the installation folder of the controller.
- In the QTController.exe.config file, add an entry for the BindTo property of the application settings (<appSettings>). Specify the IP address of the network adapter that you want to bind the controller to. For example, the code may resemble the following:
<appSettings> <add key="LogSizeLimitInMegs" value="20" /> <add key="AgentSyncTimeoutInSeconds" value="120" /> <add key="ControllerServicePort" value="6901" /> <add key="ControllerUsersGroup" value="TeamTestControllerUsers" /> <add key="ControllerAdminsGroup" value="TeamTestControllerAdmins" /> <add key="CreateTraceListener" value="no" /> <add key="BindTo" value="<YOUR IP ADDRESS>" /> </appSettings>
Note The BindTo property must be set for each process that is running on a computer that has more than one network adapter.
- Save the QTController.exe.config file.
- Start the controller service. To do this, run the following command at a command prompt:
net start vsttcontroller End Fix ==============================================================================================================