Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot connect KeepServerEx6.1 #9

Open
wqqwqq666 opened this issue Apr 21, 2023 · 1 comment
Open

cannot connect KeepServerEx6.1 #9

wqqwqq666 opened this issue Apr 21, 2023 · 1 comment

Comments

@wqqwqq666
Copy link

when i use opcsample to connect my keepserverEx6.1 and I get the following error:

System.InvalidCastException:“无法将类型为“System.__ComObject”的 COM 对象强制转换为接口类型“OpcRcw.Comn.IOPCServerList2”。此操作失败的原因是对 IID 为“{9DD0B56C-AD9E-43EE-8305-487F3188BF7A}”的接口的 COM 组件调用 QueryInterface 因以下错误而失败: 拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))。”

图片

here is my code:

图片

my tag name:

图片

my opcserver:
图片

@seayxu
Copy link
Contributor

seayxu commented Dec 14, 2023

如果是本地就不要用IP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants