Drive Error

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, October 31, 2013

Resolution: Visual Studio Test Agent Unable to Connect to the controller. There is no agent registered...

Posted on 4:35 PM by Unknown
Problem: I discovered a weird quirk with the Visual Studio Test Agents (a.k.a. TFS Test Agents). We were trying to set them up to do some load testing, and were getting the error below.

 Unable to connect to the controller on 'MyController:6901'. There is no agent with the name 'MyAgent' registered on the controller.

If you click on the "View Log" link after attempting to configure the Test Agent, you will see the follwing detailed error:

 V, 2013/10/28, 17:33:25.342, Observed that agent 'MyAgent' does not exist. Microsoft.VisualStudio.TestTools.Exceptions.EqtException: There is no agent with
the name 'MyAgent' registered on the controller.
 Server stack trace:
   at Microsoft.VisualStudio.TestTools.Controller.AgentManager.GetAgentMachine(String agentName)
   at Microsoft.VisualStudio.TestTools.Controller.AgentManager.GetAgentProperties(String agentName)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
 Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.VisualStudio.TestTools.Execution.IControllerCommands.GetAgentProperties(String agentName)
   at Microsoft.VisualStudio.TestTools.ConfigCore.TestControllerHelper.AgentExists(String agentName, IControllerCommands controllerCmds)

Cause: The problem I had was that the agent's host file had some entries in there pointing to the loopback IP address of 127.0.0.1. For some reason, the controller grabbed the host names from the hosts file on the agent machines, and was trying to talk back to them based on the information in DNS. In our case, this was the load balancers, not the agent machines.

Resolution:
  1. Comment out any hostfile entries on the agent machines that have the 127.0.0.1 IP address with a "#" pound sign.
  2. Run "ipconfig /flushdns" on the agent and the controller.
  3. Restart all of the services starting with "Visual Studio" on both the agent and the controller.
  4. Rerun the agent configuration.
Note* If you are trying to run the agent on a machine in the cloud, on a workgroup member computer, or a computer from another domain, see this article as well.
    Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
    Posted in Amazon AWS, EC2, error, fix, load testing, Microsoft, Microsoft.VisualStudio.TestTools.Exceptions.EqtException, resolution, solution, Test Agents, Test Controller, Test Tools, TFS, Visual Studio, Windows Azure | No comments
    Newer Post Older Post Home

    0 comments:

    Post a Comment

    Subscribe to: Post Comments (Atom)

    Popular Posts

    • Resolved: IDRAC Drive Error Either Virtual Media is detached or redirection for the selected virtual disk drive is already in use
      I haven't used Dell servers much in an enterprise environment, so working with their IDRAC (Integrated Dell Remote Access Controller) co...
    • Resolved: Error message Windows is unable to install to the selected location. Error: 0x80300001 after loading additional drivers
      There is a very misleading/deceptive error that you might run into when installing various versions of the Windows operating system. It typi...
    • How to Configure Windows Event Logs as SNMP Traps
      There are a lot of different monitoring suites out there that monitor servers by using SNMP traps. If you want to be alerted when a specific...
    • How to Setup Visual Studio (TFS) Test Agents in the Cloud
      We ran into some issues trying to get the Visual Studio Test Agents to register and communicate with the Visual Studio Test Controller when ...
    • Forceful Demotion of a Dead Domain Controller
      If one of your domain controllers dies on you, then you cannot gracefully demote it. So, when this happens there are a few things that you n...
    • Resolution: Error during encryption or decryption. System error code 997 in SharePoint
      I was recently ran into an issue in SharePoint where my Central Administration web app disappeared. When I tried to redeploy Central Adminis...
    • How To Remove The Root Hints from Windows DNS
      I ran into a problem while I was locking down a Windows DNS server where I would remove the root hints, but they would keep coming back. I f...
    • Fix Sharepoint/Powershell Error: The Farm is Unavailable
      Below is an error that you can get in PowerShell or via STSADM for SharePoint PS C:\> Get-SPServiceApplicationProxy Get-SPServiceApplicat...
    • How to delete hiberfil.sys on Windows 2008/Vista/Windows 7
      In Windows 2008, 2008 R2, Vista and Window 7, disabling hibernation via Power Options in the control panel doesn't get rid of the hiberf...
    • How to Turn On Debug Logging for Group Policy
      When you are troubleshooting group policy issues, it's helpful to turn on some additional logging. Unfortunately, it's not just a si...

    Categories

    • %windir%\system32\evntwin.exe
    • $TOPS
    • 0x80300001
    • 2010
    • 404
    • 997
    • Active Directory
    • Active Directory Federation Services
    • ADDS
    • ADFS
    • ADFSRelyingPartyTrust
    • adminvs
    • Adsense
    • Adsense Association
    • Advertising Income
    • AIDS
    • Amazon AWS
    • Android
    • Apple
    • associate an adsense account
    • Attribute objecttypecode
    • Authentication is Required
    • AxQuickMksAxCtl
    • bcdedit
    • block
    • BYOD
    • cell phone
    • certificate of authenticity
    • Channel
    • Ciphers
    • Citrix
    • cloud
    • commerce server 2007
    • commerce server 2009
    • configure
    • connection pooling
    • ControlTemplates
    • corrupt
    • could not load type
    • crash
    • credential caching
    • CurrentNavSiteMapProvider
    • Data Execution Prevention
    • dbo.DependencyBase
    • DC
    • debug
    • decryption
    • definition files
    • Dell
    • demotion
    • DEP
    • Destop
    • detached
    • devices
    • devmgmt.msc
    • devmgr_show_nonpresent_devices
    • Disable ADFS Credential Caching
    • discovery service
    • disk drive
    • disk space
    • distributed computing
    • Distributed Transaction Coordinator service
    • DNS
    • domain
    • domain account
    • Domain Controllers
    • Drivers
    • dsacls
    • duplicate key
    • DynamicChildLimit
    • EC2
    • education
    • email router
    • encryption
    • enterprise
    • error
    • error code 997
    • error status: 1603
    • event ID# 1033
    • event ID# 16192
    • Event ID# 26234
    • event id# 7024
    • event ID# 7043
    • Event Logs
    • Event Sources
    • Event to Trap Translator
    • Exception
    • exception processing message
    • facebook
    • failed
    • FarmAdmin
    • fight aids
    • FightAIDS@Home
    • filter
    • fix
    • free
    • free disk space
    • free download
    • freeware
    • fsutil
    • game
    • games
    • Generate Trap
    • ghost devices
    • Google
    • Google Adsense
    • google-corpeng
    • GPO
    • gpresult
    • grid computing
    • group policy debug logging
    • group policy logging
    • hard drive
    • Hashes
    • HBA
    • hiberfil.sys
    • hibernation
    • hidden devices
    • hotfix
    • how to
    • IDRAC
    • IIS
    • index
    • Install
    • Integrated Dell Remote Access Controller
    • invalid code received
    • invalid operation exception
    • invites
    • IP Address
    • ISA
    • iso
    • KB
    • kerberos
    • key code
    • Key Exchange Algorithms
    • libraries
    • license key
    • limit
    • list
    • lists
    • load testing
    • lockdown
    • Log Management
    • LogFiles
    • logons per second
    • loopback
    • LSA
    • LsaLookupCacheMaxSize;
    • Mac OS X
    • Macs
    • management
    • menu
    • metadata cleanup
    • Microsoft
    • Microsoft Dynamics CRM 2011
    • Microsoft Dynamics CRM 4.0
    • Microsoft Office 2003
    • Microsoft Office 2007
    • Microsoft TechEd
    • Microsoft.VisualStudio.TestTools.Exceptions.EqtException
    • mobile phone
    • Monetization
    • Monitoring Suites
    • MSCRMEmail
    • msdtc. resetlog
    • Multiple Logins
    • Navigation
    • ndx_UniqueDependencyNodes
    • network adapter
    • Network connections
    • news feed
    • NIC
    • no disk
    • ntdsutil
    • open source
    • Operating System
    • OS
    • package management
    • page file
    • pagefile
    • pagefile.sys
    • pages
    • Passive Income
    • patch
    • patch management
    • patches
    • PCT
    • performance tuning
    • picklist
    • PortalSiteMapProvider
    • powercfg
    • powershell
    • PrincipalObjectAccessReadSnapshot
    • product key
    • psconfig
    • query group policy
    • r2
    • RAID controller
    • reclaim disk space
    • redirection
    • reference
    • registry key
    • remove
    • remove selected server
    • resolution
    • resource unavailable
    • rights
    • rights delegation
    • root hints
    • RSPO
    • run error detected
    • sasl profiles
    • SCCM
    • schannel ciphers
    • schannel protocols
    • script
    • scripting
    • SCSI controller
    • Security
    • security event logs
    • security providers
    • server
    • Server Administration
    • service account
    • Service Control Manager
    • service principle name
    • servicePrincipleName
    • services
    • session
    • shadow copy storage
    • SharePoint
    • sharepoint 2007
    • Sharepoint 2010
    • sharepoint 2013
    • shrink
    • Simian
    • sitemap
    • sites
    • smart phone
    • SNMP
    • SNMP Monitoring
    • SNMP Traps
    • social networking
    • software
    • software deployment
    • solution
    • sql
    • SSL
    • STIGS
    • stsadm
    • subsites
    • Symantec Endpoint Protection
    • system event logs
    • TaxonomyPicker.ascx
    • temporary internet files
    • Test Agents
    • Test Controller
    • Test Tools
    • TFS
    • the farm is unavailable
    • timeout
    • TLS
    • TMG
    • TokenLifetime
    • tops file
    • training
    • transaction resource manager
    • troubleshooting
    • troubleshooting group policy
    • UAG
    • unexpected error
    • update rollups
    • UpdateFarmCredentials
    • upgrade
    • user
    • users
    • videos
    • virtual adapter
    • Virtual Infrastructure Client
    • virtual media
    • virus definitions
    • Visual Studio
    • VM
    • VMWare
    • VSphere client
    • vss storage
    • Walk-Through
    • wcat
    • wcat.wsf
    • wcclient
    • wcctl
    • wdigest
    • Weak SSL
    • web services
    • web.config
    • webs
    • website
    • Windows
    • Windows 2000
    • Windows 2003
    • Windows 2008
    • Windows 2008 R2
    • Windows 2012 R2
    • Windows 7
    • Windows 8.1
    • Windows Azure
    • windows desktop
    • Windows Live ID Sign-in Assistant
    • Windows Server
    • windows update service
    • Windows Vista
    • Windows XP
    • Windwos DNS
    • WMI
    • wmic
    • work around
    • Workstation
    • world community grid
    • xml
    • YouTube
    • YouTube Publishing

    Blog Archive

    • ▼  2013 (42)
      • ▼  October (4)
        • How to Setup Visual Studio (TFS) Test Agents in th...
        • Resolution: Visual Studio Test Agent Unable to Con...
        • Resolved: WCAT: Invalid code received - Run error ...
        • Connection Pooling for Commerce Server 2007 and 2009
      • ►  September (3)
      • ►  July (2)
      • ►  June (1)
      • ►  May (1)
      • ►  April (4)
      • ►  March (10)
      • ►  February (4)
      • ►  January (13)
    • ►  2012 (1)
      • ►  December (1)
    Powered by Blogger.

    About Me

    Unknown
    View my complete profile