简体   繁体   English

远程 OPC 连接错误代码 0x80070005。 E_ACCESSDENIED

[英]Remote OPC Connection Error Code 0x80070005. E_ACCESSDENIED

I am trying to connect to an OPC HDA server (Proficy Historian) on a remote machine located on the local.network.我正在尝试连接到位于 local.network 上的远程计算机上的 OPC HDA 服务器(Proficy Historian)。 The client will be Ignition SCADA but I am using the free version of OPC Expert to Debug.客户端将是 Ignition SCADA,但我使用 OPC Expert 的免费版本进行调试。 Using OPC Expert on the server machine works fine and I am able to read data.在服务器机器上使用 OPC Expert 工作正常,我能够读取数据。

On the client machine, I get error 0x80040154 REGDB_E_CLASSNOTREG (Class not registered).在客户端机器上,我收到错误 0x80040154 REGDB_E_CLASSNOTREG(类未注册)。 I don't believe it is related to DCOM permissions.我不认为它与 DCOM 权限有关。 Previously, I had an access denied error but that went away when I made changes to the DCOM permissions.以前,我有一个访问被拒绝的错误,但是当我更改 DCOM 权限时,这个错误就消失了。

OPC Expert suggests disabling and re-enabling OPC Features on the server machine. OPC Expert 建议在服务器机器上禁用并重新启用 OPC 功能。 I have done this a few times without any luck.我已经做了几次,但没有任何运气。 I have also re-installed OPC Core tools on both machines with no luck.我还在两台机器上重新安装了 OPC 核心工具,但没有成功。

OPC Expert Message OPC 专家寄语

Sounds like you are using an OPC DA client to connect to an OPC HDA server.听起来您正在使用 OPC DA 客户端连接到 OPC HDA 服务器。 That will result in the REGDB_E_CLASSNOTREG error.这将导致 REGDB_E_CLASSNOTREG 错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM