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.
Exception when reading from a tag
To the first one reported, 0xC0040201: I still do not know what is its InnerException. But anyway, the particular error code does not come From QuickOPC. It is likely that it comes from the OCP Server itself, so you need to ask at their side.
To the second one reported,0x800401F3: In English Windows, this is "Invalid class string", an error code predefined by Microsoft. It is meant to indicate that the ProgID you are using ("FactoryTalk Gateway") is not correctly formed, but it can also mean that the server is not properly registered. Check whether the ProgId is right. In addition, have a look at whether your application in running in 32-bit or 64-bit process: In some situations, servers register themselves correctly only for 32-bit usage. .NET programs (when build for AnyCPU target) run, by default, in 32-bit process on 32-bit Windows and in 64-bit process on 64-bit process. It is not uncommon to encounter problems with old OPC servers when trying o access them from 64-bit process.
Regards
Please Log in or Create an account to join the conversation.
Then, the second screen, is showing the inner exception debugging from the dev machine.
Is the info enough ord o you need more details?
Thank you for your support.
Please Log in or Create an account to join the conversation.
Which one is the right one?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I'm using _serverName = "FactoryTalk Gateway". May be this?
Thanks
Please Log in or Create an account to join the conversation.
the error message refers you to details in the InnerException property.
What is the InnerException then?
Regards
Please Log in or Create an account to join the conversation.
So far the framework is working good but I found a problem today. I’m deploying a C# program to few pc’s. All the pcs are windows 10 with the framework licensed. All of them are running a FactoryTalk Gateway. On one of the pcs my program is running fine and on the other two (same installation of components) I get the following exception (picture attached).
The exception is when I attempt to read a plc tag. Does anyone have an idea of what I’m doing wrong?
Thank you for the support.
Please Log in or Create an account to join the conversation.