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
- Installation, Deployment
- "Class not registered" error when moving to new server
"Class not registered" error when moving to new server
FYI, the OPC server installation is not correct without the OPC Core Components. It seems that they have forgotten to include it.
Best regards
Please Log in or Create an account to join the conversation.
Thank you for your help.
Please Log in or Create an account to join the conversation.
First thing I would do is to make sure that the latest version of OPC Core Components is installed - from opcfoundation.org/developer-tools/samples-and-tools-classic/core-components/ . (use the MSI format).
Best regards
Please Log in or Create an account to join the conversation.
Are you saying that those programs can connect successfully to your OPC server, but your own app cannot?
When I execute the EasyOPC.NET Demo Application, it has the same "Class not registered" error when I try to read one of the tags.
Do you have any test OPC client, not based on QuickOPC, to verify that a connection to that OPC server is actually possible?
I do not have any other clients. The connection works fine on the old server.
That's not ProgId or CLSID, that is just the host name. Depending on the method overload used, the ProgID will likely be in the 2nd argument. What value is there?
"mahlo.10AOpcServer.1" is the second argument to the SubscribeItem() call.
Please Log in or Create an account to join the conversation.
3. Do you have any other OPC client on the new system that can successfully connect to the server?
I have the test programs that get installed with the QuickOPC-Classic 5.20.
Are you saying that those programs can connect successfully to your OPC server, but your own app cannot?
Do you have any test OPC client, not based on QuickOPC, to verify that a connection to that OPC server is actually possible?
4. What ProgID or CLSID are you using to connect to the server?
The call to SubscribeItem() uses localhost as it's first argument.
That's not ProgId or CLSID, that is just the host name. Depending on the method overload used, the ProgID will likely be in the 2nd argument. What value is there?
Regards
Please Log in or Create an account to join the conversation.
1. Was your old server 32-bit system or 64-bit system?
Both servers are 64-bit Operating System.
2. Is your application compiled for AnyCPU, x64 or x86? (in project properties)
AnyCPU
3. Do you have any other OPC client on the new system that can successfully connect to the server?
I have the test programs that get installed with the QuickOPC-Classic 5.20.
4. What ProgID or CLSID are you using to connect to the server?
The call to SubscribeItem() uses localhost as it's first argument.
5. Are you sure that the ProgID or CLSID of the server has not changed (if you are installing a different OPC Server version?) Have you verified that?
The mahlo 10A OPC Server is the same version on both servers.
Please Log in or Create an account to join the conversation.
1. Was your old server 32-bit system or 64-bit system?
2. Is your application compiled for AnyCPU, x64 or x86? (in project properties)
3. Do you have any other OPC client on the new system that can successfully connect to the server?
4. What ProgID or CLSID are you using to connect to the server?
5. Are you sure that the ProgID or CLSID of the server has not changed (if you are installing a different OPC Server version?) Have you verified that?
QuickOPC 5.20 is not officially compatible with Windows Server 2019, but it may work, depending on circumstances. It is very old. kb.opclabs.com/Versions .
Best regards
Please Log in or Create an account to join the conversation.
QuickOPC-Classic 5.20 is running just fine on the old server.
The mahlo 10A OPC Server is running just fine on the old server.
My .NET application is running just fine on the old server.
I have installed QuickOPC-Classic 5.20 on the new server.
I have activated the license on the new server.
I have installed and configured the mahlo 10A OPC Server on the new server.
When my .NET program runs on the old server, it subscribes to ~130 tags and successfully receives updates when the tag values change.
When my .NET program runs on the new server, it attempts to subscribe to ~130 tags and generates a "Class not registered" error for each tag.
Can someone help me identify why I can not subscribe to the tags on the new server?
- Is QuickOPC-Classic 5.20 compatible with Windows Server 2019 Standard
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-Classic in .NET
- Installation, Deployment
- "Class not registered" error when moving to new server