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

Unable to cast object of type 'OPCAutomation.OPCServerClass' #51

Open
AmirGhased71 opened this issue Dec 1, 2024 · 2 comments
Open

Comments

@AmirGhased71
Copy link

Hi sam,and all friends,
I have an OPC.Da.The server for the KEBA company is named Kestudio.
I connected to it with the Kebserver software and there is no problem.
but Error in IoTGateway master:

Unable to cast object of type 'OPCAutomation.OPCServerClass' to type 'OPCAutomation.IOPCGroups'.

at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr& ppUnk, IntPtr itfMT, IntPtr classMT, Int32 flags)
at OPCAutomation.OPCServerClass.get_OPCGroups()
at Automation.OPCClient.OPCClientWrapper.Init(String serverIP, String opcServerName) in E:\Project\IoTGateway\Plugins\Drivers\OPC.DaClient\OPCClient\OPCClientWrapper.cs:line 132

Please help me,
Thanks

Screenshot 2024-12-01 122901

@iioter
Copy link
Owner

iioter commented Dec 14, 2024

Hi, can you send the software 'OPC.Da.The server for the KEBA company is named Kestudio' to my email?

@iioter
Copy link
Owner

iioter commented Dec 28, 2024

It is true that iotgateway cannot connect to KeStudio.Opc, and the enterprise version can be connected through other solutions, but the open source version is not available yet.

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