java调用OPC-DA出现0x00000005错误

11 篇文章 34 订阅 ¥15.90 ¥99.00

1 报错如下

在网上依据帖子,几乎都尝试过了,但是还是没有作用,最后,翻墙在google上查找相关资料,得到一些思路,最终得以解决!
在这里插入图片描述

十一月 06, 2021 1:04:45 下午 org.jinterop.dcom.core.JISession postDestroy
信息: About to destroy links for Session: -345335021 , size of which is 0
十一月 06, 2021 1:04:45 下午 org.jinterop.dcom.core.JIComOxidRuntime destroySessionOIDs
信息: destroySessionOIDs for session: -345335021
13:04:45.311 [main] INFO org.openscada.opc.lib.da.Server - Failed to connect to server
org.jinterop.dcom.common.JIException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such excep

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值