Type FieldLabel is not supported for FieldLabel

Problem

You get one of these errors when building (generating) your application in Iron Speed Designer:

Type FieldLabel is not supported for FieldLabel ...

The <NAME> control’s display style is currently set to ‘<VALUE>’.  It must be set to Hyperlink, Label or Literal.

Select Tools, Properties, select the <NAME> control from the tree on the left.  Click Remove Properties to reset the properties of this control.  Reselect the control, and click on the Display tab.  Select the type as Hyperlink, Label or Literal.  Click on the Binding tab and set the field.

This error occurs when building your application and an unbound code generation tag is detected.  One common scenario is deleting a field in a database table for which a corresponding code generation tag remains in a generated web page.  After scanning the database for schema changes and accepting them, the code generation tag corresponding to the deleted field is now unbound, causing the error to appear when building your application.

Solution

Step 1:  Remove the unbound code generation tag from your application’s web page via the Design Mode in Iron Speed Designer.

Step 2:  If you cannot locate the unbound code generation tag in Design Mode, open the Properties dialog box and examine each control to make sure it is bound properly to a database field.  Unbound code generation tags are displayed in boldface in the Properties dialog.

Step 3:  If you cannot locate the unbound code generation tag via the Properties dialog, open XML properties file for the page in question.  Each page has an associated XML properties file containing the various code generation options for that page.  Search for “FieldLabel” to locate the orphaned XML node and then delete that node.

Step 4:  Rebuild and run your application.

See Also

Part VII:  Troubleshooting Applications

Application Generation and Compilation Error Messages