Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

When converting a Niagara R2 server station from xml to db, the conversion fails with the following message: Could not create node "tridium.apps.ProgramNode".tridium.fo...

Issue

When converting a Niagara R2 server station from xml to db, the conversion fails with the following message:

ERROR: c:\niagara\r.301.529.v1\stations\PMHBASSERVER\config.xml(865566,98): 

Could not create node "tridium.apps.ProgramNode".tridium.foundation.IllegalChildException E_ILLEGAL_CHILD_DUP_NAME {Command}

   at tridium.foundation.node.NodeLifeCycle.pasteErrorCheck(NodeLifeCycle.java:153)
   at tridium.foundation.node.NodeLifeCycle.paste(NodeLifeCycle.java:68)
   at tridium.foundation.prism.Prism.commitTransactionImpl(Prism.java:1484)
   at tridium.foundation.prism.Prism.commitTransaction(Prism.java:779)
   at tridium.foundation.prism.NodeTransaction.commit(NodeTransaction.java:76)
   at tridium.xml.node.NodeHandler.createNode(NodeHandler.java:105)
   at tridium.xml.node.NodeHandler.(NodeHandler.java:42)
   at tridium.xml.node.NodeHandler.startElement(NodeHandler.java:140)
   at tridium.xml.TParser.doSTag(TParser.java:225)
   at textuality.lark.Lark.reader(Lark.java)
   at textuality.lark.Lark.readXML(Lark.java)
   at tridium.xml.TParser.parse(TParser.java:121)
   at tridium.tools.DbAdmin.readXml(DbAdmin.java:472)
   at tridium.tools.DbAdmin.convert(DbAdmin.java:292)
   at tridium.tools.DbAdmin.main(DbAdmin.java:168)
   at tridium.tools.DbAdmin.main(DbAdmin.java:122)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at tridium.nre.Nre.mainImpl(Nre.java:663)
   at tridium.nre.Nre.main(Nre.java:603)

Parse of XML failed. 

----- End of input -----

 

Environment

Niagara R2

Cause

The conversion fails due to two program objects having duplicate names.

Resolution

Open the xml file using a xml editor (like Notepad++).  Navigate to line # 865566, character # 98 and identify the program object's name.

Rename the program object by adding an additional character (like a number '1' or a letter 'a').  Save and close.

Run the conversion to db again.

Tags (1)
Labels (1)
Version history
Revision #:
1 of 1
Last update:
‎2018-09-06 12:12 PM
Updated by: