0

我无法从客户端计算机连接到托管在远程服务器(AZURE VM)上的 OPC DA 服务器。

最初,我通过在客户端计算机上安装 OPC 核心组件解决了“ CoCreateIstance excdeption: class not registered ”。

现在我在尝试从 .NET 服务连接到 OPCDA 服务器时遇到以下错误:

Could not connect to server.
Matrikon.OPC.Simulation.1
**************** Exception Details ****************
 Exception occurrred at : 7/21/2020 7:43:47 PM
 Source :  OpcNetApi
 **Message :  E_NETWORK_ERROR**
Could not connect to server.
Matrikon.OPC.Simulation.1
 Type :  Opc.ConnectFailedException
 Inner Exception :  
 Stack Trace :     at Opc.Server.Connect(URL url, ConnectData connectData)
   at Opc.Da.Server.Connect(URL url, ConnectData connectData)
   at Opc.Server.Connect()

我试图在服务器端修改 DCOM 设置,但没有帮助。

观察到一种情况,当 Matrikon OPC Simulation 安装在客户端机器上时,我能够从客户端机器连接到远程 OPCDA 服务器。

有人可以指导我为什么我们能够连接 OPCDA 远程服务器当服务器也安装在客户端计算机上时。

在 Matrikon 服务器安装过程中是否有任何特定设置使 OPCDA 远程连接成功。

4

0 回答 0