Error: The selected object failed to draw

Error Message

This error occurs when trying to preview the geometry of an Oracle Spatial table that was manually registered using 'sdelayer -o register':

The selected object failed to draw.
Table has no integer row ID or spatial column.


The table was possibly registered with 'sdelayer -o register' and the wrong entity type was specified.

Solution or Workaround

  1. Unregister the table with the following command:
sdetable -o unregister 
  1. Re-register the table with the correct entity type:
sdelayer -o register 
Optionally, you may re-register with:
sdetable -o register 

Related Information