在配置测试代理tfs 2010时无法验证帐户是否具有正确的权限

时间:2012-02-02 12:33:27

标签: controller tfs2010

我正在尝试在Windows 7计算机上配置测试代理。我的帐户在本地管理员组下。但仍然不断给我错误,无法验证运行测试代理的帐户是否具有连接到测试控制器的正确权限。 ......在具有测试控制器本地管理员权限的帐户下重新运行该实用程序。

同时将测试代理状态显示为已断开连接。请参阅日志文件中的以下内容

I, 2012/02/02, 12:08:42.604, Machine Name: DEV
I, 2012/02/02, 12:08:42.604, Final Domain: COM.  Final username: COM/sam
E, 2012/02/02, 12:08:42.645, Got an exception in HandleUserAccountChangeForProcess    at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args)
at Microsoft.VisualStudio.TestTools.Execution.ExecutionUtilities.AddUser(DirectoryEntry userToAdd, DirectoryEntry computer, String groupName)
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)
E, 2012/02/02, 12:08:42.645, PreviousProcessAccount = COM\samCurrentProcessAccount = COM\sam
W, 2012/02/02, 12:08:42.646, Could not verify whether the account under which the test       agent is running has the right permissions to connect to the test controller. If the test agent is unable to connect to the controller, then rerun this utility under an account that has local administrator privileges on the test controller machine.
I, 2012/02/02, 12:08:42.646, Configuring ACL...
I, 2012/02/02, 12:08:56.620, Configured ACL successfully.
I, 2012/02/02, 12:08:56.621, Stopping test agent process...
I, 2012/02/02, 12:08:56.630, Test agent process stopped successfully.
I, 2012/02/02, 12:08:56.632, Checking whether account COM\sam is a network service account or not
V, 2012/02/02, 12:08:56.633, Created Nt account COM\sam for userName COM\sam
V, 2012/02/02, 12:08:56.633, Found Sid S-1-5-21-3822552688-3526577868-2225499705-1308 for userName COM\sam
I, 2012/02/02, 12:08:56.633, Observed that account COM\sam is network service account? False

任何想法出了什么问题。

0 个答案:

没有答案