From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



当在Windows 2000机器上浏览OPC服务器时发生网络浏览错误



主要软件:
主要软件版本: 8.0
主要软件修正版本: N/A
次要软件: N/A

问题:

我正在尝试使用对话框浏览我的OPC服务器,我是使用Microsoft Visual C++,Visual C#或者Visual Basic里面的SelectUrl对话框。我总是得到如下的错误对话框(如下图所示):

NI Network Browser Error: error code - 0x80004002

No such interface supported

 An OPC Interface could not be found

 Ensure that the latest opcproxy.dll is installed and that it has been registered.

我应该怎么修复这个错误?



解答:

这个问题是因为用来枚举系统上可用的OPC服务器的Datasocket部分组件并没有正确的在Windows 2000系统上注册。为了使用Datasocket作为一个OPC客户端,你需要手动注册opcproxy.dll。为了手动注册opcproxy.dll,需要执行如下指令:

C:\WINNT\system32\regsvr32.exe C:\WINNT\system32\opcproxy.dll

备注:计算机上的System32文件夹路径可能有所不同。如果以上的指令不能够工作,搜索你的硬盘上的regsvr32.exe和opcproxy.dll,修改正确的路径。



相关链接:

附件:






报告日期: 11/04/2005
最近更新: 06/26/2014
文档编号: 3R3ECP5B