Invalid component binding file

Problem

You get this error message when building your application in Iron Speed Designer:

Application build has been aborted due to the following error: Invalid component binding file: XXX.xml: The element 'http://www.ironspeed.com/designer:Self' has invalid child element 'http://www.ironspeed.com/designer:Type'. Expected 'http://www.ironspeed.com/designer:Name'. An error occurred at , (6, 6).

Or

Application build has been aborted due to the following error: Invalid component binding file: C:\Inetpub\wwwroot\XXX.xml: Specified cast is not valid.

This error typically occurs when the property file used by Iron Speed Designer to store and maintain the property value settings for a particular web page has been damaged, corrupted or overwritten.

Solution

Make sure you have not overwritten the property file (XML) with a different file.  If so, rename the property file to something else and recreate the underlying page using Iron Speed Designer.  Recreating the page will cause Iron Speed Designer to create a new undamaged property file.

In many cases, you can recreate pages and components by creating a new application in Iron Speed Designer and then copying selected “fresh” files from this new application to your existing “corrupted” application to fix this error.

See Also

Part IX:  Troubleshooting Applications

Application Generation and Compilation Error Messages