- Posts: 10
- Thank you received: 0
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.
DCOM Hardening issue
- brandon.skiles@subaru-sia.com
- Topic Author
- Offline
- Premium Member
Please Log in or Create an account to join the conversation.
Best regards
Please Log in or Create an account to join the conversation.
- brandon.skiles@subaru-sia.com
- Topic Author
- Offline
- Premium Member
- Posts: 10
- Thank you received: 0
Please Log in or Create an account to join the conversation.
There is some serious misunderstanding going on.
Anything that has to do with DCOM relates to OPC "Classic" specifications/servers, for which there are EasyDAClient and EasyAEClient objects in QuickOPC.
The exception you have now posted comes from the EasyUAClient object. This is for connections to the OPC UA (unified Architecture) servers - and has no relation to DCOM whatsoever.
From the exception, I can see that you are trying to connect to "opc.tcp://StampingScada.ccrnt.ccr:49380". That indeed looks like a possible/typical OPC UA server endpoint URL. What lead you to believe that your issue has to something with DCOM? And, is it correct to say that the true error you need to resolve is the exception you have now posted?
Regards
Please Log in or Create an account to join the conversation.
- brandon.skiles@subaru-sia.com
- Topic Author
- Offline
- Premium Member
- Posts: 10
- Thank you received: 0
OpcLabs.EasyOpc.UA.OperationModel.UAException: An OPC-UA operation failure with error ID 'OpcLabs.UAEngine=1' occurred, originating from 'Opc.Ua.Core' and with depth of 2. The inner exception, of type "OpcLabs.EasyOpc.UA.Engine.UAEngineException", contains details about the problem.
---> OpcLabs.EasyOpc.UA.Engine.UAEngineException: UA SDK error (Opc.UA.ServiceResult=0x808A0000) in 'DiscoveryClient.GetEndpoints'. OPC UA service result - Error establishing a connection: BadNotConnected.
+ The error occurred when preselecting an endpoint for discovery URL "opc.tcp://StampingScada.ccrnt.ccr:49380".
+ Connection attempt #2; last connected at 1/1/0001 12:00:00 AM (local); unconnected for 00:00:34.3900000.
+ Some possible causes of this error are that the OPC-UA server is not running, or is not configured to listen on the specified port. Also, the network connection may be broken (cable unplugged?).
+ The client method called (or event/callback invoked) was 'DataChangeNotification'.
---> OpcLabs.EasyOpc.UA.UAServiceException: OPC UA service result - Error establishing a connection: BadNotConnected.
at Opc.Ua.Bindings.ChannelAsyncOperation`1.End(Int32 timeout, Boolean throwOnError)
at Opc.Ua.Bindings.UaSCUaBinaryClientChannel.EndSendRequest(IAsyncResult result)
at Opc.Ua.Bindings.UaSCUaBinaryTransportChannel.EndSendRequest(IAsyncResult result)
at Opc.Ua.Bindings.UaSCUaBinaryTransportChannel.SendRequest(IServiceRequest request)
at Opc.Ua.DiscoveryClient.GetEndpoints(RequestHeader requestHeader, String endpointUrl, StringCollection localeIds, StringCollection profileUris, EndpointDescriptionCollection& endpoints)
at OpcLabs.EasyOpc.UA.Toolkit.Sdk.ToolkitDiscoveryClient.OpcLabs.EasyOpc.UA.Toolkit.Client.ISdkDiscoveryClient.GetEndpoints(String endpointUrl, StringCollection sdkProfileUris)
at OpcLabs.EasyOpc.UA.Toolkit.Sdk.ClientUtils.<>c__DisplayClass55_0.<SelectEndpointInternal>b__2()
at OpcLabs.EasyOpc.UA.Toolkit.UAEngineBase.PerformSdkAction(UASdkCallType callType, Func`1 usingFunction, String name, Action sdkAction)
--- End of inner exception stack trace ---
Please Log in or Create an account to join the conversation.
1. What do you mean by "I have [...] set the security initialization" ?
2. Do you get anything from your program in Windows Application event log? (Start -> Event Viewer, Windows Logs -> Application).
Regards
Please Log in or Create an account to join the conversation.
- brandon.skiles@subaru-sia.com
- Topic Author
- Offline
- Premium Member
- Posts: 10
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Answers to your questions are here:
- kb.opclabs.com/COM_management
- kb.opclabs.com/COM_settings_in_OPC_Classic_client_components
- kb.opclabs.com/What%27s_new_in_QuickOPC_2022.1
Best regards
Please Log in or Create an account to join the conversation.
- brandon.skiles@subaru-sia.com
- Topic Author
- Offline
- Premium Member
- Posts: 10
- Thank you received: 0
Please Log in or Create an account to join the conversation.