Test Agent, MTM is not able to register with Test Controller installed on different domain

Discussion Test Agent, MTM is not able to register with Test Controller installed on different domain

  • Wednesday, August 08, 2012 10:47 AM
     
     

    Hi,

    We have MTM and Test Agent installed on Domain A machine.

    TFS and Test Controller are installed on Domain B machines and Test Controller is registered with TFS.

    MTM is not showing up the test controllers in Lab Environment so we are trying to connect test agent and getting following error:

    ************************************************************************************************
    Configuration started on 2012/08/08, 10:22:51.
    OS Version : Microsoft Windows NT 6.1.7600.0
    Executable version : 10.0.40219.1

    I, 2012/08/08, 10:22:51.320, Listing agent configurations
    I, 2012/08/08, 10:22:51.389, Checking whether account DEVELOPMENT\s.tripathi is a network service account or not
    V, 2012/08/08, 10:22:51.390, Created Nt account DEVELOPMENT\s.tripathi for userName DEVELOPMENT\s.tripathi
    V, 2012/08/08, 10:22:51.390, Found Sid S-1-5-21-4083124288-2863868989-869113978-1010 for userName DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:22:51.390, Observed that account DEVELOPMENT\s.tripathi is network service account? False
    I, 2012/08/08, 10:22:51.458, Domain: DEVELOPMENT
    I, 2012/08/08, 10:22:51.458, Final UserName: DEVELOPMENT\s.tripathi.
    I, 2012/08/08, 10:22:51.459, Loading account details for DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:22:51.674, Normalized account is DEVELOPMENT\s.tripathi and Sid is S-1-5-21-4083124288-2863868989-869113978-1010
    I, 2012/08/08, 10:22:51.676, GetControllerName : The controller name managed by lab is
    I, 2012/08/08, 10:22:51.754, IsManagedByLab : lab manaaged controller name :
    I, 2012/08/08, 10:22:51.760, NotManagedByLab = True
    I, 2012/08/08, 10:25:13.783, Checking whether account DEVELOPMENT\s.tripathi is a network service account or not
    V, 2012/08/08, 10:25:13.784, Created Nt account DEVELOPMENT\s.tripathi for userName DEVELOPMENT\s.tripathi
    V, 2012/08/08, 10:25:13.784, Found Sid S-1-5-21-4083124288-2863868989-869113978-1010 for userName DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:13.785, Observed that account DEVELOPMENT\s.tripathi is network service account? False
    I, 2012/08/08, 10:25:13.785, Domain: DEVELOPMENT
    I, 2012/08/08, 10:25:13.785, Final UserName: DEVELOPMENT\s.tripathi.
    I, 2012/08/08, 10:25:13.785, Loading account details for DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:13.816, Normalized account is DEVELOPMENT\s.tripathi and Sid is S-1-5-21-4083124288-2863868989-869113978-1010
    I, 2012/08/08, 10:25:13.818, Checking whether account DEVELOPMENT\s.tripathi is a network service account or not
    V, 2012/08/08, 10:25:13.818, Created Nt account DEVELOPMENT\s.tripathi for userName DEVELOPMENT\s.tripathi
    V, 2012/08/08, 10:25:13.818, Found Sid S-1-5-21-4083124288-2863868989-869113978-1010 for userName DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:13.818, Observed that account DEVELOPMENT\s.tripathi is network service account? False
    I, 2012/08/08, 10:25:13.818, Domain: DEVELOPMENT
    I, 2012/08/08, 10:25:13.818, Final UserName: DEVELOPMENT\s.tripathi.
    I, 2012/08/08, 10:25:13.818, Loading account details for DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:13.828, Normalized account is DEVELOPMENT\s.tripathi and Sid is S-1-5-21-4083124288-2863868989-869113978-1010
    I, 2012/08/08, 10:25:13.828, Agent process is presently running from the user : DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:13.828, Domain: DEVELOPMENT
    I, 2012/08/08, 10:25:13.828, Final UserName: DEVELOPMENT\s.tripathi.
    I, 2012/08/08, 10:25:13.839, Agent configuration update pack details :
    I, 2012/08/08, 10:25:13.839, Run as interactive process : True
    I, 2012/08/08, 10:25:13.841, Network service name NT AUTHORITY\NETWORK SERVICE
    I, 2012/08/08, 10:25:13.842, User name : s.tripathi
    I, 2012/08/08, 10:25:13.842, Change Port : False
    I, 2012/08/08, 10:25:13.842, Chang eService Account : True
    I, 2012/08/08, 10:25:13.842, Change Test Controller : True
    I, 2012/08/08, 10:25:13.842, Test Controller Uri : 10.0.20.36:9601
    I, 2012/08/08, 10:25:13.842, Disable Screensaver : True
    I, 2012/08/08, 10:25:13.842, Enable autologon : False
    I, 2012/08/08, 10:25:13.842, Port : -1
    I, 2012/08/08, 10:25:13.848, Checking whether account DEVELOPMENT\s.tripathi is a network service account or not
    V, 2012/08/08, 10:25:13.848, Created Nt account DEVELOPMENT\s.tripathi for userName DEVELOPMENT\s.tripathi
    V, 2012/08/08, 10:25:13.849, Found Sid S-1-5-21-4083124288-2863868989-869113978-1010 for userName DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:13.849, Observed that account DEVELOPMENT\s.tripathi is network service account? False
    I, 2012/08/08, 10:25:13.849, Domain: DEVELOPMENT
    I, 2012/08/08, 10:25:13.849, Final UserName: DEVELOPMENT\s.tripathi.
    I, 2012/08/08, 10:25:13.849, Loading account details for DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:13.860, Normalized account is DEVELOPMENT\s.tripathi and Sid is S-1-5-21-4083124288-2863868989-869113978-1010
    I, 2012/08/08, 10:25:13.897, Starting firewall configuration...
    I, 2012/08/08, 10:25:13.981, BaseConfig: AddFirewallExceptionIfRequired: Firewall exception already enabled for port 6910.
    I, 2012/08/08, 10:25:13.982, No change to the firewall setting as the firewall exception was already enabled for the application 'Microsoft Visual Studio Test Agent 2010 Service'.
    I, 2012/08/08, 10:25:13.985, Configured firewall exceptions for: 'Microsoft Visual Studio Test Agent 2010 Service'.
    I, 2012/08/08, 10:25:13.986, Adding agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=2.0.0 on agent machine
    I, 2012/08/08, 10:25:13.986, Adding agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=2.0.0 on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:13.988, Added agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=2.0.0 on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:13.988, Adding agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=2.0.0 on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:13.989, Added agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentVersion=2.0.0 on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:13.989, Adding agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentContractVersion=2 on agent machine
    I, 2012/08/08, 10:25:13.989, Adding agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentContractVersion=2 on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:13.989, Added agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentContractVersion=2 on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:13.989, Adding agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentContractVersion=2 on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:13.990, Added agent setting Microsoft.TeamFoundation.Lab.TestIntegration.AgentContractVersion=2 on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:13.990, Adding agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE on agent machine
    I, 2012/08/08, 10:25:13.990, Adding agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:13.991, Added agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:13.991, Adding agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:13.991, Added agent setting InstallationPath=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:13.992, Creating event sources VSTTAgent
    I, 2012/08/08, 10:25:13.992, Creating event sources VSTTAgent
    I, 2012/08/08, 10:25:13.992, Event source VSTTAgent already exists.
    I, 2012/08/08, 10:25:13.992, Creating event sources VSTTAgentProcess
    I, 2012/08/08, 10:25:13.993, Event source VSTTAgentProcess already exists.
    I, 2012/08/08, 10:25:13.993, Adding event source for event logging
    I, 2012/08/08, 10:25:13.993, ResetForceGuestKey : Getting the value of ForceGuest key
    I, 2012/08/08, 10:25:13.993, ResetForceGuestKey : The value of ForceGuest key is 0
    I, 2012/08/08, 10:25:13.994, Checking the status of service VSTTAgent
    I, 2012/08/08, 10:25:13.995, Found that service VSTTAgent is installed:False
    I, 2012/08/08, 10:25:13.997, Configuring test agent process...
    I, 2012/08/08, 10:25:13.999, previous user was : DEVELOPMENT\s.tripathi, current user is : DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:14.000, Checking whether account DEVELOPMENT\s.tripathi is a network service account or not
    V, 2012/08/08, 10:25:14.000, Created Nt account DEVELOPMENT\s.tripathi for userName DEVELOPMENT\s.tripathi
    V, 2012/08/08, 10:25:14.000, Found Sid S-1-5-21-4083124288-2863868989-869113978-1010 for userName DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:14.000, Observed that account DEVELOPMENT\s.tripathi is network service account? False
    I, 2012/08/08, 10:25:14.000, Domain: DEVELOPMENT
    I, 2012/08/08, 10:25:14.000, Final UserName: DEVELOPMENT\s.tripathi.
    I, 2012/08/08, 10:25:14.001, Loading account details for DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:14.026, Normalized account is DEVELOPMENT\s.tripathi and Sid is S-1-5-21-4083124288-2863868989-869113978-1010
    I, 2012/08/08, 10:25:14.027, Adding the process as startup program for user DEVELOPMENT\s.tripathi...
    I, 2012/08/08, 10:25:14.027, Updating the startup registry
    I, 2012/08/08, 10:25:14.028, Updating Run registry to value : C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\QTAgentProcessUI.exe
    I, 2012/08/08, 10:25:14.028, Disabling screen saver for user DEVELOPMENT\s.tripathi...
    I, 2012/08/08, 10:25:14.029, Updating screensaver registry
    I, 2012/08/08, 10:25:14.029, Adding agent setting DisableScreenSaver=True on agent machine
    I, 2012/08/08, 10:25:14.029, Adding agent setting DisableScreenSaver=True on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:14.029, Added agent setting DisableScreenSaver=True on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:14.029, Adding agent setting DisableScreenSaver=True on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:14.031, Added agent setting DisableScreenSaver=True on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:14.031, Adding agent setting AgentRunMode=AsInteractiveProcess on agent machine
    I, 2012/08/08, 10:25:14.031, Adding agent setting AgentRunMode=AsInteractiveProcess on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:14.032, Added agent setting AgentRunMode=AsInteractiveProcess on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:14.032, Adding agent setting AgentRunMode=AsInteractiveProcess on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:14.033, Added agent setting AgentRunMode=AsInteractiveProcess on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:14.033, Adding agent setting AgentInteractiveProcessUserName=DEVELOPMENT\s.tripathi on agent machine
    I, 2012/08/08, 10:25:14.033, Adding agent setting AgentInteractiveProcessUserName=DEVELOPMENT\s.tripathi on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:14.034, Added agent setting AgentInteractiveProcessUserName=DEVELOPMENT\s.tripathi on agent machine - 32 bit hive
    I, 2012/08/08, 10:25:14.034, Adding agent setting AgentInteractiveProcessUserName=DEVELOPMENT\s.tripathi on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:14.034, Added agent setting AgentInteractiveProcessUserName=DEVELOPMENT\s.tripathi on agent machine - 64 bit hive
    I, 2012/08/08, 10:25:14.035, Configured test agent process successfully.
    I, 2012/08/08, 10:25:14.035, Setting Tcp Parameters
    V, 2012/08/08, 10:25:14.036, Setting Tcp Parameters in 32bit Hive
    V, 2012/08/08, 10:25:14.036, Setting Tcp Parameters in 32bit Hive completed.
    V, 2012/08/08, 10:25:14.036, Setting Tcp Parameters in 64bit Hive.
    V, 2012/08/08, 10:25:14.036, Setting Tcp Parameters in 64bit Hive completed.
    I, 2012/08/08, 10:25:14.036, Setting Tcp Parameters completed.
    I, 2012/08/08, 10:25:14.038, Registering this test agent with the test controller. This may take few minutes...
    I, 2012/08/08, 10:25:14.038, AgentConfiguration: Starting controller configuration.
    I, 2012/08/08, 10:25:14.039, GetControllerName : The controller name managed by lab is
    I, 2012/08/08, 10:25:14.039, GetControllerName : The controller name managed by lab is
    I, 2012/08/08, 10:25:14.039, AgentConfiguration: Found agent is not configured on any controller.
    I, 2012/08/08, 10:25:14.040, AgentConfiguration: Adding agent DEVELOPMENT on controller 10.0.20.36:9601.
    I, 2012/08/08, 10:25:14.040, Adding agent DEVELOPMENT running under 10.0.20.36:9601 to controller DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:14.147, Creating Channel
    I, 2012/08/08, 10:25:19.787, CreateControllerObject: attempt 0, System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 10.0.20.36:9601

    Server stack trace:
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.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.IControllerAccessManager.GetControllerObject()
       at Microsoft.VisualStudio.TestTools.ConfigCore.TestControllerHelper.CreateControllerObject(String controllerUri)
    I, 2012/08/08, 10:25:23.047, CreateControllerObject: attempt 1, System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 10.0.20.36:9601

    Server stack trace:
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.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.IControllerAccessManager.GetControllerObject()
       at Microsoft.VisualStudio.TestTools.ConfigCore.TestControllerHelper.CreateControllerObject(String controllerUri)
    I, 2012/08/08, 10:25:26.309, CreateControllerObject: attempt 2, System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 10.0.20.36:9601

    Server stack trace:
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint)
       at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
       at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
       at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
       at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.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.IControllerAccessManager.GetControllerObject()
       at Microsoft.VisualStudio.TestTools.ConfigCore.TestControllerHelper.CreateControllerObject(String controllerUri)
    E, 2012/08/08, 10:25:26.411, Microsoft.VisualStudio.TestTools.ConfigCore.ConfigToolException: Unable to connect to test controller service 10.0.20.36:9601
       at Microsoft.VisualStudio.TestTools.ConfigCore.TestControllerHelper.CreateControllerObject(String controllerUri)
       at Microsoft.VisualStudio.TestTools.ConfigCore.TestControllerHelper.AddAgent(String agentName, String controllerUri, ServiceAccount agentServiceAccount)
       at Microsoft.VisualStudio.TestTools.ConfigCore.AgentConfiguration.BindToController(String testController, ServiceAccount agentServiceAccount)
       at Microsoft.VisualStudio.TestTools.ConfigCore.AgentConfiguration.HandleControllerChange(AgentConfigurationUpdatePack updatePack, DelegateStatusUpdate statusListener)
    I, 2012/08/08, 10:25:26.413, DetermineDomain:: User: DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:26.413, Domain: DEVELOPMENT
    I, 2012/08/08, 10:25:26.413, Machine Name: DEVELOPMENT
    I, 2012/08/08, 10:25:26.413, Final Domain: .  Final username: s.tripathi
    E, 2012/08/08, 10:25:26.414, Failed to register this test agent with the test controller. Possible reasons could be you do not have the right permissions to connect to the test controller 10.0.20.36:9601, the log on account does not exist on the test controller machine, or a firewall is blocking the connection.
    To fix this problem, verify that you are a local administrator on the test controller machine, that the log on account s.tripathi exists on the test controller machine, and that the Windows Firewall Settings on the test controller machine has "File and Printer Sharing" exception.
    I, 2012/08/08, 10:25:26.417, IsManagedByLab : lab manaaged controller name :
    I, 2012/08/08, 10:25:26.421, Adding agent account DEVELOPMENT\s.tripathi on controller 10.0.20.36:9601...
    I, 2012/08/08, 10:25:26.426, AgentConfiguration: Adding agent account DEVELOPMENT\s.tripathi on controller 10.0.20.36:9601.
    V, 2012/08/08, 10:25:26.468, Adding agent service account DEVELOPMENT\s.tripathi to TeamTestAgentService group on controller 10.0.20.36
    I, 2012/08/08, 10:25:29.564, Creating user DEVELOPMENT\s.tripathi on machine 10.0.20.36
    V, 2012/08/08, 10:25:29.564, Created Nt account DEVELOPMENT\s.tripathi for userName DEVELOPMENT\s.tripathi
    V, 2012/08/08, 10:25:29.565, Found Sid S-1-5-21-4083124288-2863868989-869113978-1010 for userName DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:29.565, Using machine$ account DEVELOPMENT\s.tripathi on machine 10.0.20.36
    I, 2012/08/08, 10:25:29.565, DetermineDomain:: User: DEVELOPMENT\s.tripathi
    I, 2012/08/08, 10:25:29.565, Domain: DEVELOPMENT
    I, 2012/08/08, 10:25:29.565, Machine Name: DEVELOPMENT
    I, 2012/08/08, 10:25:29.565, Final Domain: .  Final username: s.tripathi
    E, 2012/08/08, 10:25:45.157, Got Exception : System.Runtime.InteropServices.COMException (0x80005004): An unknown directory object was requested

       at System.DirectoryServices.DirectoryEntries.Find(String name, String schemaClassName)
       at Microsoft.VisualStudio.TestTools.Execution.ExecutionUtilities.GetUserDirectoryEntry(DirectoryEntry computer, String domain, String userName, String userPassword, Boolean createIfNotFound)
       at Microsoft.VisualStudio.TestTools.ConfigCore.UserNameUtil.GetUserDirectoryEntry(String machineName, ServiceAccount userAccount, Boolean useRemoteName)
       at Microsoft.VisualStudio.TestTools.ConfigCore.TestControllerHelper.AddUserAccount(ServiceAccount account, String groupName, String machineName, Boolean useRemoteName)
       at Microsoft.VisualStudio.TestTools.ConfigCore.TestControllerHelper.AddAgentAccountToControllerGroup(ServiceAccount agentServiceAccount, String controllerUri)
       at Microsoft.VisualStudio.TestTools.ConfigCore.AgentConfiguration.HandleUserAccountChangeForProcess(AgentConfigurationUpdatePack updatePack, DelegateStatusUpdate statusListener)
       at Microsoft.VisualStudio.TestTools.ConfigCore.AgentConfiguration.Configure(AgentConfigurationUpdatePack updatePack, DelegateStatusUpdate statusListener)
       at Microsoft.VisualStudio.TestTools.AgentConfigUI.AgentConfigUI.ConfigureWorker_DoWork(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    I, 2012/08/08, 10:25:45.157, Work completed for GetConfiguration() call : got out of turn error
    E, 2012/08/08, 10:25:45.159, Failed to apply user account changes.



    Sneh

All Replies

  • Thursday, August 09, 2012 12:50 AM
     
     

    Hi Sneh,

    Both domains need trust each other.


    • Edited by mini jacson Thursday, August 09, 2012 12:50 AM
    •  
  • Friday, August 10, 2012 5:29 AM
     
     

    Hi,

    Thanks for your reply. How can we make trust between domains? Currently we have VPN tunnel between both the domains (two different organizations).


    Sneh