Beckhoff · TwinCAT 2 Automation Interface
The file specified for import does not contain a valid tree item or has a corrupted signature (0x80090006). This error occurs when ImportChild() attempts to read the file but determines its content is not a recognized TwinCAT tree item export format.
Click steps to track your progress.
Ensure the bstrFile was generated by ExportChild() from a valid TwinCAT tree item.
Attempt to open the export file (.tce) with a text editor to check for obvious corruption or non-XML content.
Regenerate the export file from the source TwinCAT configuration if possible, ensuring a valid export process.