Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

OPC DA - Error when browsing for items - "Invalid class"

More
22 Aug 2021 13:48 #10130 by support
Hello.

I made my own project, and included the code you provided. I cannot reproduce the issue.
The project is attached (assembly references are to the not-yet-released version 5.62, but it is possible to remove them and replace with the version you have).

File Attachment:

File Name: WindowsApp1.zip
File Size:20 KB


Best regards
Attachments:

Please Log in or Create an account to join the conversation.

More
19 Aug 2021 10:22 #10126 by support
I will work on this next week when I am back in the office.

Please Log in or Create an account to join the conversation.

More
17 Aug 2021 13:44 #10115 by micham
Hi,

See the code below that generates the exception. This is when we call the GetDataTypePropertyValue() function.

If Form1.DaItemDialog1.ShowDialog() = DialogResult.OK Then
TagName = Form1.DaItemDialog1.NodeElement.ItemId
Dim value As Object = Nothing
Dim exception As Exception = Nothing
Try ' Catch the exception May-29-2017
value = easyDAClient.GetDataTypePropertyValue("", server_properties.RealServerName, TagName)
Catch ex As OpcException
exception = ex
sTagType = ""
DisplayOPCException(exception)
End Try

Can you please try it?

Thank you.

Michael
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Aug 2021 09:14 #10101 by support
Hello.

I have installed the server. It appears to be a form of KepServerEX, maybe just another rebranding.
I was not able to reproduce the issue.

I will need a reproducible scenario in order to proceed further.

Best regards

Please Log in or Create an account to join the conversation.

More
04 Aug 2021 07:43 #10096 by support
Hello,
thank you very much.

I am on vacation this week; will work on this next week.

Best regards

Please Log in or Create an account to join the conversation.

More
04 Aug 2021 07:27 #10095 by support
Thanks for clarification. I understand now.

Please Log in or Create an account to join the conversation.

More
03 Aug 2021 13:10 #10093 by micham

Please Log in or Create an account to join the conversation.

More
03 Aug 2021 05:29 #10091 by micham
The invalid class string happens with our program.
The crash at startup happens with the Easy OPC Client.

Please focus on the first problem. I tried using the Easy OPC Client only because I wanted to check if I get the same error with it.

Thanks.
Michael

Please Log in or Create an account to join the conversation.

More
03 Aug 2021 04:53 #10089 by support
Hello.

You originally reported "invalid class string" error when browsing a specific server.
But in your recent reply, you describe a crash upon starting the application.

This is a contradiction. Which of the two issues are we resolving here?

Please Log in or Create an account to join the conversation.

More
02 Aug 2021 08:37 #10085 by micham
Hi,

Thank you for your answer. See my answers below.

1. Is the operating system 32-bit or 64-bit? 64 bit.

2. If the OS is 64-bit, is your application built to AnyCPU, x86 or x64? Our application is 32 bit (x86).

3. Do you set EnableNativeClient to false? Where can I set this property?

4. Is the problem only with browsing items? Have you tried reading etc.? After browsing and selecting an OPC item, our OPC client reads the value.

5. Have you tried other OPC clients? Which? Do they work? Matrikon Explorer works fine. Easy OPC Client crashes at startup. See the attached screen capture.

6. Does it happen only on one computer with this server, or more, or you do not know? "More than one computer"

7. How was the ProgID (Intellution.IntellutionGatewayOPCServer) obtained? Using QuickOPC browsing dialog as well? No. Using OPC Expert software.

8. Can you post here the CLSID of the server? (should be visible in the Browse Servers dialog or similar) - looks like {..............................}. (the idea is then to try with CLSID directly, will provide more details later) {6e6617109-ff2d-11d2-8087-00105aa8f840}

9. Is there a way to obtain the demo of the server? I can try.

10. Which version of Intellution OPC gateway is it? 7.68

Thank you.
Michael
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.224 seconds