“测试代理无法连接到测试控制器"VS2012 代理 [英] "Test Agent could not connect to the test controller" VS2012 Agents

查看:34
本文介绍了“测试代理无法连接到测试控制器"VS2012 代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(使用 Visual Studio 2012 代理工具进行测试)

(Using the Visual Studio 2012 Agents tools for testing)

我很难让我的测试代理(在远程机器上)与我的测试控制器连接.

I'm having difficulty getting my test agent (on a remote machine) to connect with my test controller.

我收到错误消息:

测试代理无法连接到测试控制器"

"Test agent could not connect to the test controller"

在日志中,存在以下错误:

In the log, the following errors are present:

有些错误会多次显示,所以我在它们旁边标明了次数.

Some of the errors are shown multiple times, so I have indicate the number of times beside them.

x2:

无法从测试代理获取状态.异常:无法连接到 IPC 端口:系统找不到指定的文件."

"Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified."

x1:

无法从测试代理获取状态.异常:请求未找到服务"

"Could not get the status from the test agent. Exception: Requested Service not found"

x1:

无法从测试代理获取状态.异常:无法写一个 IPC 端口:管道正在关闭"

"Could not get the status from the test agent. Exception: Failed to write an IPC Port: The pipe is being closed"

x3:

无法从测试代理获取状态.异常:无法连接到 IPC 端口:系统找不到指定的文件."

"Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified."

有什么想法吗?

提前致谢.

推荐答案

我解决了这个问题.

尽管我的测试代理报告成功创建了防火墙例外,但我检查了我的防火墙的入站规则并发现 QTAgentService.exe 的两个例外实际上被阻止了.

Despite my Test Agent reporting success with creating the Firewall exceptions, I examined my Inbound Rules for my Firewall and discovered that the two exceptions for the QTAgentService.exe were actually blocked.

我之前在这台机器上安装了 Visual Studio 2010 代理工具.这些例外仍然启用.

I had previously installed the Visual Studio 2010 agent tool on this machine. These exceptions were still enabled.

我不确定它们被阻止的原因,但一种可能是我的防病毒软件阻止了它(我安装了 AVG 防病毒软件).我用 VS2010 代理工具没有同样的问题.

I'm unsure why they were blocked, but one possibility is that my anti-virus software blocked it (AVG anti-virus I have installed). I didn't have the same problem with the VS2010 agent tool.

一旦我取消阻止这两个异常(一个是 UDP,另一个是 TCP),我的测试代理成功地连接到我的测试控制器.

Once I un-blocked both exceptions (one is UDP, the other is TCP), my test agent successfully connected with my test controller.

这篇关于“测试代理无法连接到测试控制器"VS2012 代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆