Paul Hacker .Net, TFS, Etc…

April 3, 2014

TF259641 Lab environement setup error

Filed under: Team System — phacker @ 10:44 pm

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.

 http://www.datazx.cn/Fv7p5a/xw-US/oa5sw2xa2/2q7xs6/cg6f4bdc-bix9-fbrf-c4mr-trfrmxmmmdbj_nw_vp2up2Aa_6w_7aa23rsdfd.html

This is a blurb below from the answer that is found here.

http://support.microsoft.com/kb/944496/en-us

This is talking about a server with multiple nics, but I had a single nic. Soon as I applied the fix, it worked perfectly.

Start Fix===================================================================

Stop the controller service. To do this, run the following command at a command prompt:

  1. net stop vsttcontroller
  2. In Notepad, open the QTController.exe.config file. This file is located in the installation folder of the controller.
  3. 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.

  4. Save the QTController.exe.config file.
  5. Start the controller service. To do this, run the following command at a command prompt:
    net start vsttcontroller
    
    End Fix ==============================================================================================================
Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: