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

发布于 2025-01-02 09:01:37 字数 2195 浏览 0 评论 0原文

我正在尝试在 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

了解出了什么问题。

I am trying to configure test agent on a windows 7 machine. My account is under local administrators group. But still keep giving me error that could not verify whether the account under which the test agent is running has the right permission to connect to test controller. ......rerun the utility under an account that has local administrator privileges on test controller.

Also showing Test Agent status as Disconnected..Please see the following from log file

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

Any Idea what's going wrong.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文