Name type is incompatible with database object type on entity <ObjectID>.
Message Text
This entity has a name type but is represented by a table or an OLAP dimension, cube, or measure. Only field entities and OLAP level and property entities can have name types.
See Also
Compile-Time Error Messages (Authoring Object Model)