Skip to content

OPC UA Data Access Sample Client #191

@DmitryFarberov

Description

@DmitryFarberov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions