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.
- Forum
- Discussions
- QuickOPC-Classic in .NET
- Browsing, Browse Dialogs and Controls
- OPC DA - Error when browsing for items - "Invalid class"
OPC DA - Error when browsing for items - "Invalid class"
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).
Best regards
Attachments:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.
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.
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.
Please Log in or Create an account to join the conversation.
This is the link for the OPC server.
spaces.hightail.com/receive/nQQeTqbcZshttps://spaces.hightail.com/receive/nQQeTqbcZs
Thank you.
Regards,
Michael
Please Log in or Create an account to join the conversation.
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.
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.
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
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-Classic in .NET
- Browsing, Browse Dialogs and Controls
- OPC DA - Error when browsing for items - "Invalid class"