Not a product class: <name>

You used a user-defined class name in the following statement:

Set X = Bind ClassName (ObjectName)

The class name used in a Set...Bind... statement must be a product class name, not a user-defined class name.

Change the class name following the Bind keyword to a product class name, or remove the statement.