English

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.

Cause

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

Solution or Workaround

  1. Unregister the table with:

    Code:
    sdetable -o unregister

  2. Re-register the table with the correct entity type:

    Code:
    sdelayer -o register

    Optionally, you may re-register with:

    Code:
    sdetable -o register