NTE_BAD_SIGNATURE

Invalid Import File Signature

Beckhoff · TwinCAT 2 Automation Interface

What does NTE_BAD_SIGNATURE mean?

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.

Common Causes

  • The signature of the import or firmware file is invalid or corrupted.
  • The file has been tampered with, and its integrity check failed.
  • The checksum of the imported data does not match the expected value.

Repair Steps & Checklist

Click steps to track your progress.

  1. 1

    Ensure the bstrFile was generated by ExportChild() from a valid TwinCAT tree item.

  2. 2

    Attempt to open the export file (.tce) with a text editor to check for obvious corruption or non-XML content.

  3. 3

    Regenerate the export file from the source TwinCAT configuration if possible, ensuring a valid export process.

Browse all codes in this manual (12)
Verified technical data. Last updated: March 2026

Related Faults

Source: Beckhoff TwinCAT 2 Automation Interface