Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPC UA Data Access Sample Client #191

Open
DmitryFarberov opened this issue May 6, 2020 · 0 comments
Open

OPC UA Data Access Sample Client #191

DmitryFarberov opened this issue May 6, 2020 · 0 comments

Comments

@DmitryFarberov
Copy link

I connect to a server and create a monitored item. I then disconnect and repeat the steps. When I attempt to monitor the exact same item I get this:

**_EXCEPTION (ObjectDisposedException)

Cannot access a disposed object.Object name: 'TransportChannel is not available.'.
STACK TRACE
at Opc.Ua.ClientBase.get_UseTransportChannel()at Opc.Ua.SessionClient.CreateMonitoredItems(RequestHeader requestHeader, UInt32 subscriptionId, TimestampsToReturn timestampsToReturn, MonitoredItemCreateRequestCollection itemsToCreate, MonitoredItemCreateResultCollection& results, DiagnosticInfoCollection& diagnosticInfos)at Opc.Ua.Client.Subscription.CreateItems()at Opc.Ua.Client.Subscription.ApplyChanges()at Quickstarts.DataAccessClient.MainForm.Browse_MonitorMI_Click(Object sender, EventArgs e) in D:\Sourcetree\OPC UA\UA-.NETStandard\SampleApplications\Workshop\DataAccess\Client\MainForm.cs:line 586_**

If I exit the client and try again, it will work the first time around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant