Login  •  Register


Unable to add node with the same nodeId of a deleted node

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Unable to add node with the same nodeId of a deleted node

Postby alberto.piovan » 20 Jun 2019, 11:39

Hi,
I am using .NET SDK 3.0.0 with .NET Framework 4.7.2.
In my server application I have successfully removed an object node using the relative method of the node manager
Code: Select all
DeleteNode(RequestContext context, NodeId nodeId, bool deleteTargetReferences)


If then I try to add a new object with the same NodeId of the previously removed node using:
Code: Select all
CreateObject(RequestContext context, CreateObjectSettings settings)

an exception is thrown because the requested NodeId already exists.

Have I to do other operations before adding the new node?

Thank you,
Alberto Piovan
alberto.piovan
Newbie
Newbie
 
Posts: 3
Joined: 16 Mar 2017, 15:47

Return to .NET based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 0 guests