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
- General Issues, Building
- OPCDA: Class not registered Exception
OPCDA: Class not registered Exception
06 Jun 2022 14:24 #10930
by support
Replied by support on topic OPCDA: Class not registered Exception
Hello,
I have some questions.
1. Is the target OPC server located on the same computer as your client app, or on a different computer (remote)? Is "MyIp" the proper name for the computer where the server is located?
2. Have you tried to read from some other OPC server, located on the same computer as the Matrikon simulation server?
2a. If yes, what were the results?
2b. If not, can you please test that, and let us know the results?
3. Which version of Matrikon simulation server you have installed?
4. You wrote "we no longer read data", but the error indicates that the methods called was for node browsing. Please clarify.
Best regards
I have some questions.
1. Is the target OPC server located on the same computer as your client app, or on a different computer (remote)? Is "MyIp" the proper name for the computer where the server is located?
2. Have you tried to read from some other OPC server, located on the same computer as the Matrikon simulation server?
2a. If yes, what were the results?
2b. If not, can you please test that, and let us know the results?
3. Which version of Matrikon simulation server you have installed?
4. You wrote "we no longer read data", but the error indicates that the methods called was for node browsing. Please clarify.
Best regards
Please Log in or Create an account to join the conversation.
06 Jun 2022 09:00 #10927
by spicerno
OPCDA: Class not registered Exception was created by spicerno
Hello,
We have an application that reads data from server using QuickOPC version 5.54.1151.1.
After updating to version 5.63.215 we no longer read data, the error is:
An OPC operation failure with error ID 'HResult=0x80040154' occurred, originating from 'OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient' and with depth of 1. The inner exception contains details about the problem. -> OpcLabs.BaseLib.Runtime.InteropServices.ExtendedCOMException (0x80040154): Class not registered
+ This error may be caused by damaged or missing OPC Server registration on the specified computer.
It can also be due to a problem with OPC proxies/stubs, which can be resolved by installing OPC Core Components (from OPC Foundation).
+ The machine name was 'MyIp'.
+ The server class used was 'Matrikon.OPC.Simulation.1'.
+ Execution details: HasNativeClient=True, HasNetApiClient=True, ProcessBitness=32.
+ The client method called (or event/callback invoked) was 'BrowseNodes'. OpcLabs.EasyOpc.OperationModel.OpcException: An OPC operation failure with error ID 'HResult=0x80040154' occurred, originating from 'OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient' and with depth of 1. The inner exception contains details about the problem. ---> OpcLabs.BaseLib.Runtime.InteropServices.ExtendedCOMException: Class not registered
+ This error may be caused by damaged or missing OPC Server registration on the specified computer.
It can also be due to a problem with OPC proxies/stubs, which can be resolved by installing OPC Core Components (from OPC Foundation).
+ The machine name was 'MyIp'.
+ The server class used was 'Matrikon.OPC.Simulation.1'.
+ Execution details: HasNativeClient=True, HasNetApiClient=True, ProcessBitness=32.
+ The client method called (or event/callback invoked) was 'BrowseNodes'.
--- End of inner exception stack trace ---
at OpcLabs.EasyOpc.DataAccess.Implementation.ErrorTransformingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.EasyDAClientCompositor.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.CompositeEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.BrowsePathResolvingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.LicensingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.EasyDAClientCompositor.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.CompositeEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ErrorTransformingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.BrowseBranches(IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, String elementNameFilter, String vendorFilter)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.BrowseBranches(IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, String elementNameFilter)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.BrowseBranches(IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.BrowseBranches(IEasyDAClient client, ServerDescriptor serverDescriptor)
at MyApplication....:line 277
We have updated OPC Core Components to the latest version.
We also get the same error with the OPCDA Demo Application installed with QuickOPC-2022.1.
With rollback to 5.54.1151.1 it's working properly.
Do you have any advice ?
Best regards,
Stefano
We have an application that reads data from server using QuickOPC version 5.54.1151.1.
After updating to version 5.63.215 we no longer read data, the error is:
An OPC operation failure with error ID 'HResult=0x80040154' occurred, originating from 'OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient' and with depth of 1. The inner exception contains details about the problem. -> OpcLabs.BaseLib.Runtime.InteropServices.ExtendedCOMException (0x80040154): Class not registered
+ This error may be caused by damaged or missing OPC Server registration on the specified computer.
It can also be due to a problem with OPC proxies/stubs, which can be resolved by installing OPC Core Components (from OPC Foundation).
+ The machine name was 'MyIp'.
+ The server class used was 'Matrikon.OPC.Simulation.1'.
+ Execution details: HasNativeClient=True, HasNetApiClient=True, ProcessBitness=32.
+ The client method called (or event/callback invoked) was 'BrowseNodes'. OpcLabs.EasyOpc.OperationModel.OpcException: An OPC operation failure with error ID 'HResult=0x80040154' occurred, originating from 'OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient' and with depth of 1. The inner exception contains details about the problem. ---> OpcLabs.BaseLib.Runtime.InteropServices.ExtendedCOMException: Class not registered
+ This error may be caused by damaged or missing OPC Server registration on the specified computer.
It can also be due to a problem with OPC proxies/stubs, which can be resolved by installing OPC Core Components (from OPC Foundation).
+ The machine name was 'MyIp'.
+ The server class used was 'Matrikon.OPC.Simulation.1'.
+ Execution details: HasNativeClient=True, HasNetApiClient=True, ProcessBitness=32.
+ The client method called (or event/callback invoked) was 'BrowseNodes'.
--- End of inner exception stack trace ---
at OpcLabs.EasyOpc.DataAccess.Implementation.ErrorTransformingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.EasyDAClientCompositor.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.CompositeEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.BrowsePathResolvingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.LicensingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.EasyDAClientCompositor.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.CompositeEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ErrorTransformingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.ForwardingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.Implementation.DelegatingEasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.BrowseNodes(ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, DABrowseParameters browseParameters)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.BrowseBranches(IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, String elementNameFilter, String vendorFilter)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.BrowseBranches(IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor, String elementNameFilter)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.BrowseBranches(IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor parentNodeDescriptor)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.BrowseBranches(IEasyDAClient client, ServerDescriptor serverDescriptor)
at MyApplication....:line 277
We have updated OPC Core Components to the latest version.
We also get the same error with the OPCDA Demo Application installed with QuickOPC-2022.1.
With rollback to 5.54.1151.1 it's working properly.
Do you have any advice ?
Best regards,
Stefano
Please Log in or Create an account to join the conversation.
Moderators: support
- Forum
- Discussions
- QuickOPC-Classic in .NET
- General Issues, Building
- OPCDA: Class not registered Exception
Time to create page: 0.054 seconds