FIX: "No such host is known" error message when you run a load test on a test agent and a test controller in Visual Studio Team Agents 2010

Applies To
Visual Studio 2010 Agents Visual Studio Ultimate 2010

Symptoms

Consider the following scenario:

  • You create a load test in Microsoft Visual Studio Team Agents 2010.

  • On one computer, you configure a test controller in a domain.

  • On another computer, you configure a test agent in a different domain.

    Note The two domains trust one another. 

  • You run the load test on the test controller computer and the test agent computer.

In this scenario, the test controller cannot connect to the test agent. Additionally, you receive the following error message:

Note

System.Net.Sockets.SocketException (0x80004005): No such host is known

      

Cause

This issue occurs because the test agent computer sends its Network Basic Input/Output System (NetBIOS) name instead of sending its Fully Qualified Domain Name (FQDN) name to the test controller computer. When the DNS server of the test controller computer does not have the IP address mapping of the NetBIOS name of the test agent computer, the issue that is described in the "Symptoms" section occurs.

Resolution

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:

http:⁠//support.microsoft.com/contactus/?ws=support Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must have Visual Studio 2010 Service Pack 1 (SP1) installed.

Restart requirement

You do not have to restart the computer after you install the hotfix. However, you must restart the test controller services and test agent services.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name File version File size Date Time Platform
Leviewer.exe 10.0.40219.385 118,544 8-Mar-12 9:39 x86
Microsoft.teamfoundation.build.client.dll 10.0.40219.385 436,552 6-Mar-12 8:03 x86
Microsoft.teamfoundation.build.conTrols.dll 10.0.40219.385 1,365,328 8-Mar-12 9:39 x86
Microsoft.teamfoundation.client.dll 10.0.40219.385 1,595,704 6-Mar-12 8:03 x86
Microsoft.teamfoundation.common.dll 10.0.40219.385 525,624 6-Mar-12 8:03 x86
Microsoft.teamfoundation.common.library.dll 10.0.40219.385 335,184 6-Mar-12 8:03 x86
Microsoft.teamfoundation.conTrols.dll 10.0.40219.385 938,816 8-Mar-12 9:39 x86
Microsoft.teamfoundation.dll 10.0.40219.385 675,632 6-Mar-12 8:03 x86
Microsoft.teamfoundation.lab.activities.dll 10.0.40219.385 772,944 8-Mar-12 9:39 x86
Microsoft.teamfoundation.lab.client.dll 10.0.40219.385 153,408 6-Mar-12 8:03 x86
Microsoft.teamfoundation.lab.uiutils.dll 10.0.40219.385 267,080 8-Mar-12 9:39 x86
Microsoft.teamfoundation.lab.workflow.activities.dll 10.0.40219.385 440,672 8-Mar-12 9:39 x86
Microsoft.teamfoundation.officeintegration.common.dll 10.0.40219.385 376,160 8-Mar-12 9:39 x86
Microsoft.teamfoundation.officeintegration.project.dll 10.0.40219.385 517,480 8-Mar-12 9:39 x86
Microsoft.teamfoundation.sync.mapping.dll 10.0.40219.385 72,520 8-Mar-12 9:39 x86
Microsoft.teamfoundation.sync.provisioning.dll 10.0.40219.385 194,384 8-Mar-12 9:39 x86
Microsoft.teamfoundation.testmanagement.activities.common.dll 10.0.40219.385 315,248 8-Mar-12 9:39 x86
Microsoft.teamfoundation.testmanagement.activities.dll 10.0.40219.385 1,512,296 8-Mar-12 9:39 x86
Microsoft.teamfoundation.testmanagement.activityruntime.dll 10.0.40219.385 220,016 8-Mar-12 9:39 x86
Microsoft.teamfoundation.testmanagement.client.dll 10.0.40219.385 685,408 6-Mar-12 8:03 x86
Microsoft.teamfoundation.testmanagement.client.Themes.dll 10.0.40219.385 3,059,560 8-Mar-12 9:39 x86
Microsoft.teamfoundation.testmanagement.client.wpfconTrols.dll 10.0.40219.385 257,912 8-Mar-12 9:39 x86
Microsoft.teamfoundation.testmanagement.clientpackage.dll 10.0.40219.385 74,088 8-Mar-12 9:39 x86
Microsoft.teamfoundation.testmanagement.common.dll 10.0.40219.385 34,656 6-Mar-12 8:03 x86
Microsoft.teamfoundation.testmanagement.conTroller.dll 10.0.40219.385 120,680 8-Mar-12 9:39 x86
Microsoft.teamfoundation.testmanagement.conTrols.dll 10.0.40219.385 494,432 8-Mar-12 9:39 x86
Microsoft.teamfoundation.testmanagement.conTrols.wpfworkitemconTrols.dll 10.0.40219.385 100,232 8-Mar-12 9:39 x86
Microsoft.teamfoundation.versionconTrol.client.dll 10.0.40219.385 706,400 6-Mar-12 8:03 x86
Microsoft.teamfoundation.versionconTrol.common.dll 10.0.40219.385 233,312 6-Mar-12 8:03 x86
Microsoft.teamfoundation.versionconTrol.conTrols.dll 10.0.40219.385 4,439,392 8-Mar-12 9:39 x86
Microsoft.teamfoundation.workitemTracking.client.dll 10.0.40219.385 699,232 6-Mar-12 8:03 x86
Microsoft.teamfoundation.workitemTracking.conTrols.dll 10.0.40219.385 1,215,336 8-Mar-12 9:39 x86
Microsoft.teamfoundation.workitemTracking.proxy.dll 10.0.40219.385 391,008 6-Mar-12 8:03 x86
Microsoft.visualstudio.qualitytools.agentobject.dll 10.0.40219.385 106,848 8-Mar-12 9:39 x86
Microsoft.visualstudio.qualitytools.common.dll 10.0.40219.385 1,355,600 8-Mar-12 9:39 x86
Microsoft.visualstudio.qualitytools.conTrollerobject.dll 10.0.40219.385 276,328 8-Mar-12 9:39 x86
Microsoft.visualstudio.qualitytools.datacollectionagentobject.dll 10.0.40219.385 37,248 8-Mar-12 9:39 x86
Microsoft.visualstudio.qualitytools.executioncommon.dll 10.0.40219.385 481,640 8-Mar-12 9:39 x86
Microsoft.visualstudio.qualitytools.resource.dll 10.0.40219.385 967,000 8-Mar-12 9:39 x86
Microsoft.visualstudio.qualitytools.testcasemanagement.dll 10.0.40219.385 1,280,368 8-Mar-12 9:39 x86
Microsoft.visualstudio.qualitytools.tmi.dll 10.0.40219.385 398,672 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamfoundation.build.dll 10.0.40219.385 142,680 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamfoundation.dll 10.0.40219.385 94,024 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamfoundation.teamexplorer.dll 10.0.40219.385 800,104 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamfoundation.versionconTrol.dll 10.0.40219.385 59,248 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamfoundation.versionconTrol.dll 10.0.40219.385 59,760 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamfoundation.versionconTrol.dll 10.0.40219.385 61,296 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamfoundation.versionconTrol.dll 10.0.40219.385 63,856 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamfoundation.versionconTrol.dll 10.0.40219.385 940,392 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamfoundation.workitemTracking.dll 10.0.40219.385 461,168 8-Mar-12 9:39 x86
Microsoft.visualstudio.teamsystem.integration.dll 10.0.40219.385 193,368 8-Mar-12 9:39 x86
Microsoft.visualstudio.testtools.manualtest.common.dll 10.0.40219.385 813,416 8-Mar-12 9:39 x86
Microsoft.visualstudio.testtools.uitest.extension.ie.dll 10.0.40219.385 251,240 8-Mar-12 9:39 x86
Microsoft.visualstudio.testtools.uitest.extension.uia.dll 10.0.40219.385 107,368 8-Mar-12 9:39 x86
Msdiff.dll 10.0.40219.385 485,640 8-Mar-12 9:39 x86
Mtm.exe 10.0.40219.385 449,280 8-Mar-12 9:39 x86
Qtagent.exe 10.0.40219.385 21,256 8-Mar-12 9:39 x86
Qtagent.exe 10.0.40219.385 21,264 8-Mar-12 9:39 x86
Qtagent32.exe 10.0.40219.385 21,264 8-Mar-12 9:39 x86
Qtagent32.exe 10.0.40219.385 21,272 8-Mar-12 9:39 x86
Qtagentservice.exe 10.0.40219.385 100,120 8-Mar-12 9:39 x86
Tf.exe 10.0.40219.385 325,888 8-Mar-12 9:39 x86

Workaround

To work around this issue, use one of the following methods:

  • Update the DSN server of the test controller computer to map the IP address to the NetBIOS name of the test agent computer.
  • Add a manual entry to the host file of the test controller computer to resolve the NetBIOS name of the test agent computer.

More Information

After apply this hotfix, you must enable the test controller and the test agent to communicate with the FQDN name instead of NetBIOS name. To do this, edit the following files:

  • Add the <add key="UseNetBiosName" Value="0"> appSettings element to the <Controller Install Directory>⁠\Common7\IDE\QTController.exe.config host file on the test controller computer.
  • Add the <add key="UseNetBiosName" Value="0"> appSettings element to the <Agent Install Directory>⁠\Common7\IDE\QTAgentService.exe.config host file on the test agent computer.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.