Professional OPC
Development Tools

logos

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.

OPC-UA client cannot dispose after internal error (Quick-OPC 5.35 build 442.1)

More
08 Jul 2016 07:13 #4213 by support
Provided the license for QuickOPC version 5.4x over email now.

Please hold on further testing with version 5.40, before we address the issue you reported. There will be some more updates coming with that. The NuGet distribution is at the moment a bit behind the full product install downloadable from our Web.

Best regards

Please Log in or Create an account to join the conversation.

More
07 Jul 2016 12:29 #4209 by UKPR
Hi,

yes we can use .NET Framework 4.5.2.
We are very happy that You can supply us with the new license.
We hope that this updated will solve other errors that we were experiencing that were very hard to replicate.

Regards,

Michal Waclawski
This email address is being protected from spambots. You need JavaScript enabled to view it.

Kind regards,


Software Engineer Team
UK Power Reserve Ltd
6th Floor, Radcliffe House, Blenheim Court, Solihull, B91 2AA.

Please Log in or Create an account to join the conversation.

More
07 Jul 2016 12:10 #4208 by support
The internal error you have listed (and that can be the cause of other issues) has been fixed in version 5.40. Are you able to use .NET Framework 4.5.2 or later? If so, we will license you free of charge to use version 5.40, even if you are not covered by the maintenance agreement.

Please Log in or Create an account to join the conversation.

More
07 Jul 2016 11:57 #4207 by UKPR
Hi,

we have a problem with disposing an EasyUAClient.

The problem occurs in a case when a connection is lost to a remote server to which some items were subscribed. The connection is lost either because the remote site lost internet connection or when a VPN that we are using closes the connection. After the site is back online the the library cannot reestablish connection. That is another problem but we can just restart the service that is using the EasyUAClient and when we try that ther is a problem with disposing the EasyUAClinet instance.
The code we are using when stopping the service is as follows:
            _client.UnsubscribeAllMonitoredItems();
            _client.Dispose();

where the _client is the EasyUAClinet instance. The code hangs on dispose and we have to manualy kill the task.

When the connection to site is lost we get a following error from EasyUAClient.LogEntry:

ERROR 2016-07-07T10:18:26.667+01:00 OPC OPC Event Source: OPCLabs-UAEngine Category: 0 Id:1 Message: INTERNAL ERROR. The OPC-UA engine might be in an unstable state.
An exception of type 'System.NullReferenceException' from source 'OpcLabs.EasyOpcUAInternal' has occurred in OPC-UA SDK callback 'Subscription.PublishStatusChanged'. The exception descend follows.
(1) {System.NullReferenceException} OpcLabs.EasyOpcUAInternal(ConsumeSdkPublishStatusChangedQueue) -> Object reference not set to an instance of an object.


Is there another way to dispose of the EasyUAClient ?

Regards,

Michal Waclawski
This email address is being protected from spambots. You need JavaScript enabled to view it.

Kind regards,


Software Engineer Team
UK Power Reserve Ltd
6th Floor, Radcliffe House, Blenheim Court, Solihull, B91 2AA.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.049 seconds