Home
Support
在Windows XP Service Pack 2 下TestStand无法完成远程调用(Remote Execution),提示错误-17850 或者-17851
在Windows XP Service Pack 2 下TestStand无法完成远程调用(Remote Execution),提示错误-17850 或者-17851
主要软件:
主要软件版本: 3.0
主要软件修正版本: N/A
次要软件: N/A
问题: 我尝试运行使用Windows XP Service Pack 2 的远程电脑上的一个序列(sequence),得到
Error -17850: Remote Execution Error
或者
Error -17851: Unable to Connect to Remote TestStand Engine.
我已经在Configure»Station Options»Remote Execution选项中设置了允许所有远程用户访问。这是什么问题呢?
解答: Windows XP Service Pack 2 附带新的安全特性导致
Allow All Users Access from Remote Machines选项工作不正常。您遇到的错误是由两个不同的原因造成的。
- Error -17851: Unable to Connect to Remote TestStand Engine—该错误是因为Windows防火墙阻止了TestStand Remote Engine服务造成的。为了排除该错误,您必须完全关闭Windows防火墙,或者将TestStand Remote Engine服务添加到例外中。
- Error -17850: Remote Execution Error—该错误是由于电脑COM许可导致的。尽管在TestStand中设置了允许所有用户通过远程电脑访问的选项,Windows XP Service Pack 2及以后的版本并不允许其它用户访问TestStand Remote Engine。为了让该选项正常工作,您需要更改系统许可从而允许远程访问、打开以及激活COM服务。下面是对应的操作步骤:
- 以管理员权限登录
- 选择Start»Settings»Control Panel»Administrative Tools»Component Services或者在运行中输入dcomcnfg,打开Component Services窗口
- 在Component Services窗口的左边,展开Component Services»Computers»My Computer.
- 右键单击My Computer选择Properties打开My Computer Properties对话框
- 在My Computer Properties对话框的Default Properties标签中,确保选中Enable Distributed COM on this computer选项
注意:修改Enable Distributed COM on this computer选项需要重启电脑。
- 在Default COM Security标签中的Access Permissions位置点击Edit Default打开Access Permission对话框
- 在Groups or User Names中选择ANONYMOUS LOGON并使能Remote Access许可。如果您并没有看到ANONYMOUS LOGON,单击Add按钮然后在Enter the object names to select中键入
ANONYMOUS
- 点击OK关闭Access Permissions对话框
- 然后,在Launch Permissions的位置点击Edit Defaults打开Launch Permission对话框
- 为EVERYONE组使能Remote Launch以及Remote Activation
- 点击OK关闭Launch Permission对话框
- 点击OK关闭My Computer Properties对话框
更多在Windows XP SP2,Windows Vista以及Windows 2000 SP4中设置远程执行序列的信息可以在TestStand Reference手册中Module Adapters章节找到,链接如下。
相关链接: Product Manuals: NI TestStand 4.2 Reference Manual,
附件:
报告日期: 04/23/2004
最近更新: 02/12/2011
文档编号: 38M7TTIJ
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.