opc链接添加组的时候异常

opc对接时候,addGroup时候异常
{
"code": 500,
"message": "Handler dispatch failed; nested exception is java.lang.IllegalAccessError: tried to access method org.openscada.opc.lib.da.Group.(Lorg/openscada/opc/lib/da/Server;ILorg/openscada/opc/dcom/da/impl/OPCGroupStateMgt;)V from class org.openscada.opc.lib.da.Server",
"url": "/opcRead"
}

该回答引用NewBing

你好,这是Bing。😊


根据网上的一些资料①②③,这个异常可能是由于以下原因导致的:

  • OPCAccess.dll组件访问被拒绝,需要重启.net或者IIS①
  • OPC服务器ProgID解析失败,需要从注册表中获取UUID②
  • dwRequestedUpdateRate设置与服务器不同,需要依据pRevisedUpdateRate返回值调整②

你可以尝试以上的方法看是否能解决问题。如果还有其他问题,请告诉我。


源: 与必应的对话, 2023/2/26