Error: The selected object failed to draw
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
- Unregister the table with the following command:
sdetable -o unregister
- Re-register the table with the correct entity type:
sdelayer -o register
sdetable -o register