Return codes

The following is a list of the return codes in the C API. They include fatal errors, non-fatal warnings, and exit codes.

SE_SUCCESS (0)

The current operation completed successfully.

 

Fatal errors

SE_FAILURE (-1)

A general ArcSDE system failure. Returned whenever the error is not trapped by a more specific indicator.

SE_INVALID_LAYERINFO_OBJECT (-2)

The pointer to SE_LAYERINFO is not initialized.

SE_NO_ANNOTATION (-3)

The given shape has no annotation.

SE_FINISHED (-4)

The current shape stream has finished successfully. If this code is returned from a shape stream initiation call, no shapes were found.

SE_SDE_NOT_STARTED (-5)

The call to start the ArcSDE was not executed or did not complete successfully. The ArcSDE server must be started before calling the function that returned this code.

SE_UNCHANGED (-6)

The specified shape was unchanged. If a shape modification function cannot correctly modify a shape, for whatever reason, it returns this code.

SE_TASKS_EXCEEDED (-7)

The number of allowed server tasks was exceeded and no more logins to the ArcSDE server are allowed until a task completes. Returned by the SE_connection_create call only.

SE_CONNECTIONS_EXCEEDED (-7)

The number of allowed server connections was exceeded and no more logins to the ArcSDE server are allowed until a connection is closed. Returned by the SE_connection_create call only.

SE_LOGIN_NOT_ALLOWED (-8)

The ArcSDE I/O connection manager task has discontinued logins. No more logins to the ArcSDE server are allowed until an administrator changes the login mode. Returned by the SE_connection_create call only.

SE_INVALID_USER (-9)

The user attempting to access the ArcSDE server does not have a valid login account on the ArcSDE host machine. Returned by the SE_connection_create call only.

SE_NET_FAILURE (-10)

A catastrophic error occurred during a client/server round-trip request and the connection between the client task and the server was severed. Almost any call that makes a round-trip request to the ArcSDE server task can return this code.

SE_NET_TIMEOUT (-11)

Returned when the application that made the call cannot bind itself to the associated server task. Returned by the SE_connection_create call only.

SE_OUT_OF_SVMEM (-12)

The function failed to complete because the server process was unable to allocate the memory needed to perform the function.

SE_OUT_OF_CLMEM (-13)

The function failed to complete because the client could not allocate enough dynamic memory to complete the task.

SE_OUT_OF_CONTEXT (-14)

The call is somehow out of context or inappropriate. Under certain circumstances, some functions are illegal and are not allowed.

SE_NO_ACCESS (-15)

The connected user does not have access to the specified object.

SE_TOO_MANY_LAYERS (-16)

Exceeded the maximum number of allowed layers as defined in the SERVER_CONFIG table.

SE_NO_LAYER_SPECIFIED (-17)

The required layer specification is missing.

SE_LAYER_LOCKED (-18)

Returned from the layer-locking routines when the specified layer is already locked.

SE_LAYER_EXISTS (-19)

Returned from the layer creation function when the specified map layer already exists.

SE_LAYER_NOEXIST (-20)

The user-specified map layer does not exist.

SE_LAYER_INUSE (-21)

The function was prevented from performing its task because another user is using the layer.

SE_FID_NOEXIST (-22)

The specified shape (LAYER:FID) does not exist.

SE_ROW_NOEXIST (-22)

The specified row does not exist in the specified map layer. Returned by shape retrieval functions.

SE_FID_EXISTS (-23)

The specified shape (LAYER:FID) exists.

SE_ROW_EXISTS (-23)

An operation attempted to insert a shape into an existing row.

SE_LAYER_MISMATCH     (-24)

For this operation, both layers must be the same.

SE_NO_PERMISSIONS (-25)

The connected user does not have sufficient database permissions to perform the specified operation or function.

SE_INVALID_NOT_NULL (-26)

The specified column has a NOT NULL constraint.

SE_INVALID_SHAPE (-27)

Returned when a shape cannot be verified as valid.

SE_INVALID_LAYER_NUMBER (-28)

The map layer number is outside the allowable range.

SE_INVALID_ENTITY_TYPE (-29)

A shape entity type is invalid or not allowed for the operation or function.

SE_INVALID_SEARCH_METHOD (-30)

The specified search method is not defined.

SE_INVALID_ETYPE_MASK (-31)

The entity types or combinations in the entity type mask are invalid. Returned from the map layer creation routine.

SE_BIND_CONFLICT (-32)

A mismatch occurred in one of the bind/set/get functions.

SE_INVALID_GRIDSIZE (-33)

One of the specified grid sizes is either too small or too large. Returned from the map layer creation routine.

SE_INVALID_LOCK_MODE (-34)

The lock mode specified is not supported.

SE_ETYPE_NOT_ALLOWED (-35)

The entity type of the shape is not one of the types allowed by the map layer definition. Returned from the store and replace shape routines.

SE_TOO_MANY_POINTS (-36)

Exceeded maximum points specified.

SE_INVALID_NUM_OF_PTS (-36)

There are more points than allowed by the specified maximum points.

SE_TABLE_NOEXIST (-37)

The specified DBMS table does not exist.

SE_ATTR_NOEXIST (-38)

Returned from functions that attempt to access a column that does not exist. Sometimes returned after misspelling the name of the column.

SE_LICENSE_FAILURE (-39)

A problem exists with the license manager.

SE_OUT_OF_LICENSES (-40)

All ArcSDE licenses are in use.

SE_INVALID_COLUMN_VALUE (-41)

The specified value exceeds the valid range for the column.

SE_INVALID_WHERE (-42)

This is an old return code; use the new INVALID_SQL return code instead.

The specified SQL WHERE clause is invalid. Confirm that the syntax and attribute names are correct.

SE_INVALID_SQL (-42)

The user-specified SQL WHERE clause is invalid. In most cases, returned because of syntax problems in the SQL string. You can call the extended error code immediately after this code is returned to inquire about the specific database error code.

SE_LOG_NOEXIST (-43)

The named log file does not exist.

SE_LOG_NOACCESS (-44)

The caller does not have permission to access the specified log file.

SE_LOG_NOTOPEN (-45)

Returned from log file I/O functions when the specified log file handle is not open.

SE_LOG_IO_ERROR (-46)

A log file I/O operation resulted in an error. Check the extended error code to get the errno value.

SE_NO_SHAPES (-47)

The function found no shapes to process. Usually returned because an empty log file was specified.

SE_NO_LOCKS (-48)

No locks were found for the specified map layer. The caller may have specified lock modifications for a layer that does not have any locks defined.

SE_LOCK_CONFLICT (-49)

The lock request was not granted because the request conflicted with another user's lock.

SE_OUT_OF_LOCKS (-50)

No longer in use

No more locks can be granted because all system lock resources are being used. Also returned from functions that automatically impose locks to complete their tasks.

SE_DB_IO_ERROR (-51)

A database-level I/O error occurred. You can call the extended error code immediately after this code is returned to inquire about the specific database error code. You should also check the DBMS log files for information.

SE_STREAM_IN_PROGRESS (-52)

The function cannot be executed during a stream shape retrieval. Close the stream before calling this function.

SE_INVALID_COLUMN_TYPE (-53)

An invalid data type was specified for a column definition.

SE_TOPO_ERROR (-54)

At least one of the shapes processed by the function violated one of the topological integrity rules. Returned from functions that require the topological integrity of shapes to complete successfully.

SE_ATTR_CONV_ERROR (-55)

Returned from the attribute mask function when an unsupported DBMS data type is encountered.

SE_INVALID_COLUMN_DEF (-56)

An invalid column definition was specified. For example, a size of -1 is specified for a column.

SE_INVALID_SHAPE_BUF_SIZE (-57)

An invalid shape array buffer size was specified.

SE_INVALID_ENVELOPE (-58)

An invalid envelope was specified. Returned when the envelope is NULL, has negative values, or a minimum value is larger than a maximum value.

SE_TEMP_IO_ERROR (-59)

Returned from functions that use temporary system files to perform their tasks. Indicates temporary file permission problems, inadequate disk space, or general temporary file I/O error conditions.

SE_GSIZE_TOO_SMALL (-60)

Storing the shape would create too many grid records, which suggests that the grid size for the target map layer is too small. Returned from functions that store or replace shapes.

SE_LICENSE_EXPIRED (-61)

The run-time license for the ArcSDE installation on the specified server has expired. See the system administrator to update the ArcSDE license. Returned from the SE_connection_create function only.

SE_TABLE_EXISTS (-62)

Returned from the table creation function when the specified database table already exists.

SE_INDEX_EXISTS (-63)

Returned from the attribute index creation functions when an attribute index already exists.

SE_INDEX_NOEXIST (-64)

The specified index does not exist.

SE_INVALID_POINTER (-65)

Returned by functions that are passed pointers to data that are either NULL or invalid.

SE_INVALID_PARAM_VALUE (-66)

Returned from a function that was given an invalid parameter value. The function is unable to continue.

SE_ALL_SLIVERS (-67)

Returned by an overlay function that reduces all shapes to slivers, yielding no results. In most cases, you can adjust the sliver factor to fix this problem.

SE_TRANS_IN_PROGRESS (-68)

A user-initiated transaction is currently in progress. The operation cannot be performed until the transaction is committed or rolled back.

SE_IOMGR_NO_DBMS_CONNECT (-69)

The iomgr has lost its connection to the underlying DBMS.

SE_DUPLICATE_ARC (-70)

An attempt was made to store or replace a shape where the arc (startpt, midpt, endpt) already exists.

SE_INVALID_ANNO_OBJECT (-71)

The given annotation object handle is invalid.

SE_PT_NO_EXIST (-72)

The user-specified point does not exist in the associated map shape.

SE_PTS_NOT_ADJACENT (-73)

The two given points are not adjacent in the associated map shape.

SE_INVALID_MID_PT (-74)

The point given as a midpoint along a path is invalid or does not exist.

SE_INVALID_END_PT (-75)

The specified endpoint is invalid or cannot be located within the associated shape.

SE_INVALID_RADIUS (-76)

The given radius was too small to perform the operation.

SE_LOAD_ONLY_LAYER (-77)

The operation cannot be performed because the specified map layer is in LOAD_ONLY mode.

SE_LAYERS_NOT_FOUND (-78)

The LAYERS table (sde_layers in SQL Server and PostgreSQL) does not exist.

SE_FILE_IO_ERROR (-79)

An error occurred when creating or writing to an output file.

SE_BLOB_SIZE_TOO_LARGE (-80)

An attempt was made to store a BLOB that exceeds the maximum allowable size of the ArcSDE server as specified by the MAXBLOBSIZE parameter of the SERVER_CONFIG table (sde_server_config in SQL Server and PostgreSQL).

SE_CORRIDOR_OUT_OF_BOUNDS (-81)

The specified source shape and corridor distance would result in a corridor with coordinates that exceed the valid coordinate range.

SE_SHAPE_INTEGRITY_ERROR (-82)

Returned by low-level code indicating an error in the integrity of a shape.

SE_NOT_IMPLEMENTED_YET (-83)

The specified function is not implemented yet but is intended for a future release.

SE_CAD_EXISTS (-84)

The shape has a CAD entity. This message could be returned when trying to modify the geometry of a shape that contains a CAD entity.

SE_INVALID_TRANSID (-85)

The specified internal ArcSDE Transaction ID is invalid.

SE_INVALID_LAYER_NAME (-86)

The table name entered for the layer definition is invalid. Valid table names cannot be NULL.

SE_INVALID_LAYER_KEYWORD (-87)

The specified layer configuration keyword does not exist in the DBTUNE table (sde_dbtune in SQL Server and PostgreSQL).

SE_INVALID_RELEASE (-88)

The release/version of the client application does not match the installed release/version of the ArcSDE server, or the installed release/version of the ArcSDE software does not match the release/version of the ArcSDE datasets. If the datasets are older than the ArcSDE server, you can update them with the sdeversion administration tool.

SE_VERSION_TBL_EXISTS (-89)

The VERSION table exists when it should not. This error occurs when you attempt to upgrade after an earlier attempt failed and the VERSION table was not deleted or when you try to create a new geodatabase on a server where the previous geodatabase was incompletely deleted.

SE_COLUMN_NOT_BOUND (-90)

A column was specified for an insert/update operation but was not bound (by calling SE_stream_bind_input_column), or the value was not set at the time of execution.

SE_INVALID_INDICATOR_VALUE (-91)

Returned during the execution of an insert or update operation for a column that was bound by reference (by calling SE_stream_bind_input_column) and the value of the indicator variable was neither IS_NOT_NULL_VALUE nor IS_NULL_VALUE.

SE_INVALID_CONNECTION (-92)

An invalid or NULL SE_CONNECT connection handle was passed to an ArcSDE function.

SE_INVALID_DBA_PASSWORD (-93)

An invalid administrator password was passed to an ArcSDE function.

SE_PATH_NOT_FOUND (-94)

The specified path was not found.

SE_SDEHOME_NOT_SET (-95)

The SDEHOME variable is not set and is needed for this operation.

SE_NOT_TABLE_OWNER (-96)

The user must be the owner of the table to perform this operation.

SE_PROCESS_NOT_FOUND (-97)

The specified process ID does not correspond to an ArcSDE server.

SE_INVALID_DBMS_LOGIN (-98)

The DBMS did not accept the user name or password that was passed to an ArcSDE function.

SE_PASSWORD_TIMEOUT (-99)

The timestamp of the password received was sent more than MAXTIMEDIFF seconds earlier. The MAXTIMEDIFF parameter is set in the SERVER_CONFIG table (SDE_SERVER_CONFIG in SQL Server and PostgreSQL).

SE_INVALID_SERVER (-100)

The server machine was not found.

SE_IOMGR_NOT_AVAILABLE (-101)

The I/O manager is not started. Log in as the ArcSDE administrator and use the sdemon administration tool to determine the status of the I/O manager.

SE_SERVICE_NOT_FOUND (-102)

ArcSDE was unable to locate the appropriate entry in the services file. See your ArcSDE system administrator.

SE_INVALID_STATS_TYPE (-103)

Tried to generate statistics on a nonnumeric column.

SE_INVALID_DISTINCT_TYPE (-104)

Tried to generate distinct statistics on an invalid type.

SE_INVALID_GRANT_REVOKE (-105)

The grant or revoke function was used improperly.

SE_INVALID_SDEHOME (-106)

The supplied SDEHOME path is invalid or NULL.

SE_INVALID_STREAM (-107)

An invalid stream (SE_STREAM) handle was detected.

SE_TOO_MANY_STREAMS (-108)

Obsolete error code. An attempt was made to create a stream, but the connection already has the maximum number of streams specified by the giomgr.defs parameter MAXSTREAMS.

SE_OUT_OF_MUTEXES (-109)

Obsolete error message. Exceeded systems maximum number of mutexes. Involved in concurrency issues.

SE_CONNECTION_LOCKED (-110)

The connection is locked to a different thread.

SE_CONNECTION_IN_USE (-111)

This connection is being used currently by another thread.

SE_NOT_A_SELECT_STATEMENT (-112)

Returned when trying to describe a prepared SQL statement that was not a query.

SE_FUNCTION_SEQUENCE_ERROR (-113)

A function was called out of sequence. For example, SE_stream_fetch was called before executing the stream with SE_stream_execute.

SE_WRONG_COLUMN_TYPE (-114)

Returned when trying to set or get the value of a column in a stream using the wrong column type. For example, calling SE_stream_get_integer on a column that is an SE_FLOAT.

SE_PTABLE_LOCKED (-115)

The specified point table is locked to a different thread.

SE_PTABLE_IN_USE (-116)

The point table is being used at the moment by another thread.

SE_STABLE_LOCKED (-117)

The specified shape table is locked to a different thread.

SE_STABLE_IN_USE (-118)

The shape table is being used at the moment by another thread.

SE_INVALID_FILTER_TYPE (-119)

An invalid value is specified in the filter_type field of the SE_FILTER structure.

SE_NO_CAD (-120)

The shape does not have a CAD entity.

SE_INSTANCE_NOT_AVAILABLE (-121)

No ArcSDE instance is running on the specified server.

SE_INSTANCE_TOO_EARLY (-122)

Obsolete error message. The specified instance is a version older than 2.0.

SE_INVALID_SYSTEM_UNITS (-123)

The specified systems units were < 1 or > 2,147,483,647.

SE_INVALID_UNITS (-124)

The specified units were not feet, meters, decimal_degrees or other.

SE_INVALID_CAD_OBJECT (-125)

The SE_CAD pointer is not initialized.

SE_VERSION_NOEXIST (-126)

The specified version does not exist.

SE_INVALID_SPATIAL_CONSTRAINT (-127)

A set of spatial filters is supplied to SE_stream_set_spatial_constraints with an SE_SPATIAL_FIRST search order, but all the spatial filters are set to FALSE, indicating the spatial index should not be used. This is contradictory; you cannot set an SE_SPATIAL_FIRST search order, which tells ArcSDE to use the spatial index first, then pass spatial filters to ArcSDE telling it not to use the spatial index.

SE_INVALID_STREAM_TYPE (-128)

A stream function is called that is not applicable to the given stream. For example, a call to SE_stream_set_integer on a query_layer stream.

SE_INVALID_SPATIAL_COLUMN (-129)

The specified column contained NOT NULL values during SE_layer_create.

SE_NO_SPATIAL_MASKS (-130)

SE_stream_get_spatial_masks was called on a query stream with no spatial masks.

SE_IOMGR_NOT_FOUND (-131)

The iomgr program was not found.

SE_SYSTEM_IS_CLIENT_ONLY (-132)

The specified operation must be run on the server.

SE_MULTIPLE_SPATIAL_COLS (-133)

Only one spatial column is allowed for this operation.

SE_INVALID_SHAPE_OBJECT (-134)

The given shape object handle is invalid.

SE_INVALID_PARTNUM (-135)

The specified shape part number does not exist.

SE_INCOMPATIBLE_SHAPES (-136)

The given shapes are of incompatible types.

SE_INVALID_PART_OFFSET (-137)

The specified part offset is invalid.

SE_INCOMPATIBLE_COORDREFS (-138)

The given coordinate reference systems are incompatible.

SE_COORD_OUT_OF_BOUNDS (-139)

The specified coordinate exceeds the valid coordinate range.

SE_LAYER_CACHE_FULL (-140)

Obsolete error message. The maximum number of layers was exceeded in the cache.

SE_INVALID_COORDREF_OBJECT (-141)

The given coordinate reference object handle is invalid.

SE_INVALID_COORDSYS_ID (-142)

The coordinate system identifier is invalid.

SE_INVALID_COORDSYS_DESC (-143)

The coordinate system description is invalid.

SE_INVALID_ROW_ID_LAYER (-144)

The SE_ROW_ID owner.table does not match the specified layer.

SE_PROJECTION_ERROR (-145)

An error occurred while projecting the shape.

SE_ARRAY_BYTES_EXCEEDED (-146)

The value of the max_array_size set in SE_STREAM_SPEC is larger than the MAXARRAYBYTES value in the SERVER_CONFIG table (sde_server_config in SQL Server and PostgreSQL).

SE_POLY_SHELLS_OVERLAP (-147)

Two donuts or two outer shells of a polygon overlap.

SE_TOO_FEW_POINTS (-148)

The number of points is less than the number required for a shape.

SE_INVALID_PART_SEPARATOR (-149)

A part separator is in the wrong position.

SE_INVALID_POLYGON_CLOSURE (-150)

The polygon does not close properly.

SE_INVALID_OUTER_SHELL (-151)

The polygon outer shell does not completely enclose all of the donuts in a part of the shape.

SE_ZERO_AREA_POLYGON (-152)

The polygon shell has no area.

SE_POLYGON_HAS_VERTICAL_LINE (-153)

The area shape contains a vertical line.

SE_OUTER_SHELLS_OVERLAP (-154)

The multipart area shape has overlapping parts.

SE_SELF_INTERSECTING (-155)

A simple line or polygon boundary intersects itself.

SE_INVALID_EXPORT_FILE (-156)

The specified export file is invalid.

SE_READ_ONLY_SHAPE (-157)

Attempted to modify or free a read-only shape from a shape table.

SE_INVALID_DATA_SOURCE (-158)

The specified data source (or database) is invalid.

SE_INVALID_STREAM_SPEC (-159)

A stream specification parameter exceeds the default set in the SERVER_CONFIG table (sde_server_config in SQL Server and PostgreSQL). Parameters that specify stream settings include MAXARRAYSIZE, ATTRBUFSIZE, and SHAPEPTSBUFSIZE.

SE_INVALID_ALTER_OPERATION (-160)

An attempt was made to alter a layer in an illegal manner. For example, if a layer allows annotations, you cannot change the layer to disallow them.

SE_INVALID_SPATIAL_COL_NAME (-161)

The specified spatial column name is the same as the table name. Returned by SE_layerinfo_set_spatial_column.

SE_INVALID_DATABASE (-162)

The specified database (or data source) name is invalid. Returned by SE_connection_create.

SE_SPATIAL_SQL_NOT_INSTALLED (-163)

A required spatial SQL extension is not present in the underlying DBMS.

SE_NORM_DIM_INFO_NOT_FOUND (-164)

Obsolete 3.0.2 error code. The dimension parameters for a Spatial Database Option (SDO) table were not found in the dbtune.sde file. Add the parameters to the ##DEFAULTS or another keyword section before trying to re-create the SDO layer. (Oracle® specific)

SE_NORM_DIM_TAB_VALUE_NOT_FOUND (-165)

Obsolete 3.0.2 error code. The dimension parameters in the SDODIM table for an SDO table were not found or are corrupted. (Oracle specific)

SE_UNSUPPORTED_NORMALIZED_OPERATION (-166)

Obsolete 3.0.2 error code. The requested operation is not supported for normalized layers. (Oracle specific)

SE_INVALID_REGISTERED_LAYER_OPTION (-167)

Obsolete 3.0.2 error code. Returned if an SDO layer is registered in the ArcSDE LAYERS table but was not created by the ArcSDE software. Usually returned when trying to change a layer between normal and load-only I/O modes. (Oracle specific)

SE_READ_ONLY (-168)

Returned if a user tries to insert or update a value in an SE_ROW_ID column.

SE_NO_SDE_ROWID_COLUMN (-169)

The current table does not have an ArcSDE-maintained row ID column.

SE_READ_ONLY_COLUMN (-170)

The column is maintained by the ArcSDE software and cannot be modified by a user.

SE_INVALID_VERSION_NAME (-171)

Illegal or blank version name

SE_STATE_NOEXIST (-172)

The specified state is not in the STATES table (sde_states in SQL Server and PostgreSQL).

SE_INVALID_STATEINFO_OBJECT (-173)

The SE_STATEINFO object is not initialized.

SE_VERSION_HAS_MOVED (-174)

An attempt was made to change the state of a version, but it has already changed.

SE_STATE_HAS_CHILDREN (-175)

An attempt was made to open a state that has children.

SE_PARENT_NOT_CLOSED (-176)

To create a new state, the parent state must be closed.

SE_VERSION_EXISTS (-177)

The specified version already exists.

SE_TABLE_NOT_MULTIVERSION (-178)

The attempted operation must be run on a multiversioned table; the specified table is not registered as versioned.

SE_STATE_USED_BY_VERSION (-179)

You cannot delete a state that is being used by a version.

SE_INVALID_VERSIONINFO_OBJECT (-180)

The VERSIONINFO object has not been initialized.

SE_INVALID_STATE_ID (-181)

The state ID is out of range or does not exist.

SE_SDETRACELOC_NOT_SET (-182)

The SDETRACELOC environment variable is not set.

SE_ERROR_LOADING_SSA (-183)

A problem occurred when loading the server-side application.

SE_TOO_MANY_STATES (-184)

This operation has more states than can fit in an SQL statement.

SE_STATES_ARE_SAME (-185)

The function takes two different states, but the same one was given twice.

SE_NO_ROWID_COLUMN (-186)

The table does not have a usable row ID column. Valid row ID (or object ID) columns must be unique, non-null integers columns.

SE_NO_STATE_SET (-187)

The state must be set before calling the function.

SE_SSA_FUNCTION_ERROR (-188)

An error occurred while executing a server-side application function.

SE_INVALID_REGINFO_OBJECT (-189)

The REGINFO object has not been initialized.

SE_NO_COMMON_LINEAGE (-190)

An attempt was made to trim between states on different lineage branches.

SE_STATE_INUSE (-191)

The specified state is currently being modified.

SE_STATE_TREE_INUSE (-192)

A lock was requested for a state tree but one or more of the states is already locked.

SE_INVALID_RASTER_COLUMN (-193)

The raster column has non-NULL values or is being used as a row ID column.

SE_RASTERCOLUMN_EXISTS (-194)

A raster column already exists.

SE_INVALID_MVTABLE_INDEX (-195)

Unique indexes are not allowed on multiversioned tables.

SE_INVALID_STORAGE_TYPE (-196)

The geometry storage type is not valid.

SE_AMBIGUOUS_NIL_SHAPE (-197)

No SQL type was provided when converting a NIL shape to text.

SE_INVALID_BYTE_ORDER (-198) 

An invalid byte order was provided or returned for a well-known binary shape.

SE_INVALID_GEOMETRY_TYPE (-199)

The shape type in the given shape is not a valid geometry type.

SE_INVALID_NUM_MEASURES (-200)

The number of measures in the shape must be zero or equal to the number of points.

SE_INVALID_NUM_PARTS (-201)

The number of parts in the shape is incorrect for its geometry type. For example, a point geometry should not have more than one part.

SE_BINARY_TOO_SMALL (-202)

The memory allocated for an ESRI binary shape is too small.

SE_SHAPE_TEXT_TOO_LONG (-203)

The shape text representation exceeds the maximum allowed string length.

SE_SHAPE_TEXT_ERROR (-204)

A syntax error exists in the supplied shape text representation.

SE_TOO_MANY_PARTS (-205)

The number of parts in the shape is more than expected for the given shape text representation.

SE_TYPE_MISMATCH (-206)

The shape's SQL type is not as expected when constructing the shape from the text representation.

SE_SQL_PARENTHESIS_MISMATCH (-207)

Found a parenthesis mismatch when parsing the shape text representation.

SE_NIL_SHAPE_NOT_ALLOWED (-208)

A NIL shape is not allowed in a well-known binary representation.

SE_INSTANCE_ALREADY_RUNNING (-209)

Tried to start an ArcSDE instance that is already running.

SE_UNSUPPORTED_OPERATION (-210)

The requested operation is not supported.

SE_INVALID_EXTERNAL_LAYER_OPTION (-211)

An invalid request was made on an external layer. This return code replaced SE_INVALID_REGISTERED_LAYER_OPTION.

SE_NORMALIZE_VALUE_NOT_FOUND (-212)

The dimension parameters for a normalized layer table were not found.

SE_INVALID_QUERY_TYPE (-213)

The query type is invalid.

SE_NO_TRACE_LIBRARY (-214)

The library does not contain any trace functions.

SE_TRACE_ON (-215)

Tried to start tracing but it is already enabled.

SE_TRACE_OFF (-216)

Tried to stop tracing but it is already disabled.

SE_SCL_SYNTAX_ERROR (-217)

Shape comparison language statement could not be interpreted by the SCL compiler.

SE_TABLE_REGISTERED (-218)

The table is already registered. (A record for the table already exists in the TABLE_REGISTRY system table.)

SE_INVALID_REGISTRATION_ID (-219)

The registration ID is out of range.

SE_TABLE_NOREGISTERED (-220)

The table is not registered.

SE_TOO_MANY_REGISTRATIONS (-221)

Obsolete error message. The number of registered tables has exceeded the max_registrations value.

SE_DELETE_NOT_ALLOWED (-222)

The object cannot be deleted because other objects depend on it.

SE_ROW_LOCK_ENABLED (-223)

The row lock is already enabled.

SE_ROW_LOCK_NOT_ENABLED (-224)

The row lock is already disabled.

SE_RASTERCOLUMN_INUSE (-225)

Another user is using the requested raster column.

SE_RASTERCOLUMN_NOEXIST (-226)

The specified raster column does not exist.

SE_INVALID_RASTERCOLUMN_NUMBER (-227)

The specified raster column number is out of range or does not exist.

SE_TOO_MANY_RASTERCOLUMNS (-228)

The maximum number of raster columns was exceeded.

SE_INVALID_RASTER_NUMBER (-229)

The specified raster number is out of range.

SE_NO_REQUEST_STATUS (-230)

The status of the request cannot be determined.

SE_NO_REQUEST_RESULTS (-231)

Cannot open the request results.

SE_RASTERBAND_EXISTS (-232)

The specified raster band already exists.

SE_RASTERBAND_NOEXIST (-233)

The specified raster band does not exist.

SE_RASTER_EXISTS (-234)

The specified raster already exists.

SE_RASTER_NOEXIST (-235)

The specified raster does not exist.

SE_TOO_MANY_RASTERBANDS (-236)

The maximum allowed number of raster bands was exceeded.

SE_TOO_MANY_RASTERS     (-237)

The maximum allowed number of rasters was exceeded.

SE_VIEW_EXISTS (-238)

The specified DBMS view already exists.

SE_VIEW_NOEXIST (-239)

The specified DBMS view does not exist.

SE_LOCK_EXISTS (-240)

The specified lock record already exists.

SE_ROWLOCK_MASK_CONFLICT (-241)

A conflict exists in the row locking mask.

SE_NOT_IN_RASTER (-242)

The specified raster band is not in a raster.

SE_INVALID_RASBANDINFO_OBJECT (-243)

The specified RASBANDINFO object does not exist.

SE_INVALID_RASCOLINFO_OBJECT (-244)

The specified RASCOLINFO object does not exist.

SE_INVALID_RASTERINFO_OBJECT (-245)

The specified RASTERINFO object does not exist.

SE_INVALID_RASTERBAND_NUMBER (-246)

The specified raster band number is out of range or does not exist.

SE_MULTIPLE_RASTER_COLS (-247)

Only one raster column is allowed.

SE_TABLE_SCHEMA_IS_LOCKED (-248)

The specified table is already locked.

SE_INVALID_LOGINFO_OBJECT (-249)

The SE_LOGINFO pointer is not initialized.

SE_SQL_TOO_LONG (-250)

The operation generated a SQL statement that is too long for the internal buffers or the underlying DBMS. Could possibly occur with difference detection or versioned queries.

SE_UNSUPPORTED_ON_VIEW (-251)

The operation is not supported with views.

SE_LOG_EXISTS (-252)

The specified log file already exists.

SE_LOG_IS_OPEN (-253)

The specified log file is open.

SE_SPATIALREF_EXISTS (-254)

The specified spatial reference entry already exists.

SE_SPATIALREF_NOEXIST (-255)

The specified spatial reference entry does not exist.

SE_SPATIALREF_IN_USE (-256)

The specified spatial reference entry is in use by one or more layers.

SE_INVALID_SPATIALREFINFO_OBJECT (-257)

The SE_SPATIALREFINFO object is not initialized.

SE_SEQUENCENBR_EXISTS (-258)

The raster band sequence number already exists.

SE_INVALID_QUERYINFO_OBJECT (-259)

The SE_QUERYINFO object is not initialized.

SE_QUERYINFO_NOT_PREPARED (-260)

The SE_QUERYINFO object has not been prepared for a query.

SE_INVALID_RASTILEINFO_OBJECT (-261)

The SE_RASTILEINFO object is not initialized.

SE_INVALID_RASCONSTRAINT_OBJECT (-262)

The SE_RASCONSTRAINT object is not initialized.

SE_INVALID_METADATA_RECORD_ID (-263)

The record ID number does not exist or is invalid.

SE_INVALID_METADATA_OBJECT (-264)

The SE_METADATAINFO object is not initialized.

SE_INVALID_METADATA_OBJECT_TYPE (-265)

The metadata object type is not supported.

SE_SDEMETADATA_NOT_FOUND (-266)

The METADATA (SDE_METADATA in SQL Server and PostgreSQL) table does not exist.

SE_METADATA_RECORD_NOEXIST (-267)

The metadata record does not exist.

SE_GEOMETRYCOL_NOEXIST (-268)

The geometry entry does not exist.

SE_INVALID_FILE_PATH (-269)

The file path either does not exist, is too long (>512 characters), or contains invalid characters. Returned by SE_connection_create when checking SDEHOME or a path to a database.

SE_INVALID_LOCATOR_OBJECT_TYPE (-270)

The locator object is not initialized.

SE_INVALID_LOCATOR (-271)

The table does not have an associated locator.

SE_TABLE_HAS_NO_LOCATOR (-272)

The locator is not valid.

SE_INVALID_LOCATOR_CATEGORY (-273)

The locator category is not specified.

SE_INVALID_LOCATOR_NAME (-274)

The locator name is invalid.

SE_LOCATOR_NOEXIST (-275)

The locator does not exist.

SE_LOCATOR_EXISTS (-276)

The locator already exists.

SE_INVALID_LOCATOR_TYPE (-277)

The locator type is not supported.

SE_NO_COORDREF (-278)

The coordinate reference is not defined.

SE_CANT_TRIM_RECONCILED_STATE (-279)

You cannot trim past an already reconciled state.

SE_FILE_OBJECT_NOEXIST (-280)

The file info object does not exist.

SE_FILE_OBJECT_EXISTS (-281)

The file info object already exists.

SE_INVALID_FILEINFO_OBJECT (-282)

The file info object is not initialized.

SE_INVALID_FILEINFO_OBJECT_TYPE (-283)

The file info object type is not supported.

SE_RASTERBAND_NO_STATS (-284)

Statistics are not available for this raster band.

SE_VERSION_HAS_CHILDREN (-285)

You cannot delete a version that has child versions.

SE_SQLTYPE_UNSUPPORTED_ETYPE (-286)

SQL type does not support annotation or CAD entities at the current release.

SE_NO_DBTUNE_FILE (-287)

The dbtune.sde file is missing or unreadable.

SE_LOG_SYSTABLES_CREATE_FAILED (-288)

The log file system tables do not exist or could not be created when the ArcSDE server was started.

SE_OBJECT_RESTRICTED (-289)

This application cannot perform the operation on the specified object.

SE_INVALID_GEOGTRAN_OBJECT (-290)

The given geographic transformation object is invalid.

SE_COLUMN_EXISTS (-291)

The specified column already exists.

SE_SQL_KEYWORD (-292)

A reserved SQL keyword was specified.

SE_INVALID_OBJECTLOCKINFO_OBJECT (-293)

The specified objectlock handle is invalid.

SE_RASTERBUFFER_TOO_SMALL (-294)

The raster buffer size is not large enough.

SE_INVALID_RASTER_DATA (-295)

The specified raster data is invalid.

SE_OPERATION_NOT_ALLOWED (-296)

The specified operation is not allowed.

SE_INVALID_RASTERATTR_OBJECT (-297)

The specified SE_RASATTR object is not initialized or is invalid.

SE_INVALID_VERSION_ID (-298)

The specified version ID is invalid.

SE_MVTABLE_CANT_BE_LOAD_ONLY (-299)

You cannot put a multiversion table into load-only I/O mode or make a load-only table multiversioned.

SE_INVALID_SDO_GEOM_METADATA_OBJ (-300)

The user-supplied table or column is invalid.

SE_ROW_OUT_OF_SEQUENCE (-301)

The next row was not the expected row.

SE_INSTANCE_IS_READ_ONLY (-302)

The ArcSDE instance is read-only.

SE_MOSAIC_NOT_ALLOWED (-303)

Image mosaicking is not allowed.

SE_INVALID_RASTER_BITMAP (-304)

The raster bitmap object is invalid.

SE_SEQUENCENBR_NOEXIST (-305)

The specified band sequence number does not exist.

SE_SQLTYPE_INVALID_FEATURE_TYPE (-306)

Obsolete error message. The feature type (i.e., rect, arc, circle) is an invalid Oracle Spatial SQL TYPE.

SE_DBMS_OBJECTS_NOT_SUPPORTED (-307)

DBMS Objects (Spatial, ADT's not supported)

SE_BINARY_CONV_NO_COLUMNS_FOUND (-308)

No columns found for binary conversion (LOB/LONGRAW)

SE_RASTERBAND_NO_COLORMAP (-309)

The raster band has no color map.

SE_INVALID_BIN_FUNCTION (-310)

Invalid raster band bin function. This error is returned by the SE_rasterband_alter function if the selected bin function is not appropriate for the raster data.

SE_INVALID_RASTERBAND_STATS (-311)

Invalid raster band statistics.

SE_INVALID_RASTERBAND_COLORMAP (-312)

Invalid raster band color map.

SE_INVALID_RASTER_KEYWORD (-313)

Invalid raster layer configuration keyword.

SE_INCOMPATIBLE_INSTANCE (-314)

Obsolete error message. This sort of iomgr cannot run on this sort of instance.

SE_INVALID_VOLUME_INFO (-315)

The volume information in the header file of a multivolume export file is invalid.

SE_INVALID_COMPRESSION_TYPE (-316)

Invalid compression type.

SE_INVALID_INDEX_PARAM (-317)

Invalid index parameter.

SE_INVALID_INDEX_TYPE (-318)

Invalid index type.

SE_SET_VALUE_CONFLICT (-319)

Try to set conflicting value in object.

SE_ADT_DATATYPE_NOT_SUPPORTED (-320)

Abstract data types are not supported.

SE_NO_SPATIAL_INDEX (-321)

No spatial index.

SE_INVALID_IDENTIFIER (-322)

Name not valid for DBMS.

SE_REGISTERED_TABLE_ROWID_EXIST (-323)

ROWID for Oracle Spatial table already exists.

SE_SERVER_LIB_LOAD_ERROR (-324)

The gsrvr dll for a direct connection could not be loaded.

SE_REGISTRATION_NOT_ALLOWED (-325)

The table cannot be registered.

SE_UNSUPPORTED_ON_MVTABLE (-326)

Operation not supported on multiversion table.

SE_NO_ARCSDE_LICENSE (-327)

No ArcSDE server license was found.

SE_UNSUPPORTED_EXPORT_FILE (-328)

Export file format is not supported.

SE_TABLE_INUSE (-329)

Specified table is in use

SE_INVALID_XMLINDEX_OBJECT (-330)

SE_XMLINDEXINFO object not initialized

SE_XML_COLUMN_EXISTS (-331)

Specified XML column exists

SE_XML_TAG_CONFLICT (-332)

The XML tag's data type or alias does not match.

SE_XML_INDEX_EXISTS (-333)

The XML index already exists.

SE_XML_INDEX_NOEXIST (-334)

The specified XML index does not exist.

SE_INVALID_XML_INDEX_ALTER (-335)

Attempted to alter a non-modifiable field.

SE_XML_TEMPLATE_IN_USE (-336)

Cannot alter/delete template that is referenced by a column.

SE_NOT_XML_INDEX_OWNER (-337)

Must be the XML index owner to delete or alter.

SE_INVALID_XMLDOC_OBJECT (-338)

SE_XMLDOC object not initialized

SE_XML_TAG_NOEXIST (-339)

Named tag not found.

SE_XML_PARSE_ERROR (-340)

Illegal XML document syntax

SE_LAYERS_COLUMN_NOEXISTS (-341)

The required column does not exist in the LAYERS table (SDE_LAYERS in SQL Server and PostgreSQL).

SE_INVALID_DATE (-342)

Invalid date value

SE_XML_COLUMN_NOEXIST (-343)

Given XML column not found

SE_XML_COLUMN_MISMATCH (-344)

Both XML columns must be the same for this operation.

SE_INVALID_XPATH (-345)

Incorrect XPATH syntax.

SE_XPATH_NOT_SUPPORTED (-346)

Input XPATH tag not supported in current release.

SE_INVALID_COLUMNINFO_OBJECT (-347)

SE_COLUMNINFO object not initialized

SE_INVALID_XMLTAG_OBJECT (-348)

SE_XMLTAGINFO object not initialized

SE_INVALID_XMLINDEX_TYPE (-349)

Wrong type of XML index

SE_INSTANCEDB_UNSUPPORTED_OPERATION (-350)

The requested operation is unsupported by the single spatial database type of geodatabase. (SQL Server only)

SE_XPATH_INVALID_LOCATION_ALIAS (-351)

Incorrect XPATH location alias syntax

SE_XPATH_PREDICATE_INVALID_TOKEN (-352)

Incorrect XPATH predicate token.

SE_XPATH_PREDICATE_INVALID_OPERATOR (-353)

Incorrect XPATH predicate operator.

SE_XPATH_PREDICATE_INVALID_CONTAIN_SYNTAX (-354)

Incorrect XPATH predicate contain function syntax.

SE_XPATH_EMPTY_ELEMENT (-355)

Empty XPATH element is not allowed.

SE_XPATH_INVALID_TOKEN (-356)

Incorrect XPATH token.

SE_SDETMP_NOT_SET (-357)

Environment variable SDETMP is not set to a value.

SE_INVALID_SERVERINFO_OBJECT (-358)

SERVERINFO object not initialized

SE_USER_GROUP_CONFLICT (-359)

Ambiguity exists between a user name and group name when working with permissions.

SE_GCDRULE_FILE_EXISTS (-360)

Geocoding rule file already exists and force_overwrite is not specified

SE_GCDRULE_FILE_NOT_FOUND (-361)

Geocoding rule file is not found

SE_GCDRULE_NOT_FOUND (-362)

Geocoding rule is not found in the geocoding rule table.

SE_GCDRULE_EXISTS (-363)

Geocoding rule already exists in the geocoding rule table and force_overwrite is not specified.

SE_INVALID_XMLCOLUMN_OBJECT (-364)

SE_XMLCOLUMNINFO object not initialized

SE_INVALID_GROUP (-365)

Invalid system group name

SE_INVALID_XML_COLUMN (-366)

Column contains NOT NULL values during SE_xmlcolumn_create()

SE_INVALID_LOCATOR_PROPERTY (-367)

Locator property is too long or invalid.

SE_LOCATOR_PROPERTY_MULTIPLE (-368)

Locator property has multiple values.

SE_DB_SRCH_OUTGEOD_EXTENT (-369)

The search window is completely outside the Oracle Spatial geodetic extent.

SE_XML_COLUMN_NOT_INDEXED (-370)

Cannot use XPATH searches on nonindexed columns.

SE_NO_SDE_UUID_COLUMN (-371)

The current table does not have a UUID column that is maintained by ArcSDE.

SE_INVALID_UUID_COLUMN (-372)

Invalid UUID column

SE_64BIT_LAYER_NOT_SUPPORTED (-373)

Underlying RDBMS does not support 64-bit layers.

SE_INVALID_INDEX_MASK (-374)

Invalid (rebuild) index mask

SE_INVALID_PRECISION (-375)

Coordinate reference/layer precision is not valid for the requested operation.

SE_INVALID_TRANSFORMINFO_OBJECT (-376)

The SE_TRANSFORMINFO object is not initialized.

SE_INVALID_RASTERBAND_XFORM_LIST (-377)

Invalid raster band transform list

SE_RASTERBAND_NO_XFORM_LIST (-378)

The raster band has no transform list.

SE_INVALID_QUERYCOLUMN_OBJECT (-379)

SE_QUERYCOLUMN object not initialized.

SE_MULTIPLE_SHAPESOURCE_SHAPES (-380)

Multiple shapes set to SE_SHAPESOURCE shape.

SE_INVALID_QUERYSELECT_OBJECT (-381)

SE_QUERYSELECT object not initialized.

SE_INVALID_SHAPESOURCE_OBJECT (-382)

SE_SHAPESOURCE object not initialized.

SE_INVALID_SPATIALCONSTRAINT_OBJECT (-383)

SE_SPATIALCONSTRAINT object not initialized.

SE_MISSING_JOIN_CONSTRAINT (-384)

QUERYFROM join constraint is missing.

SE_ANSI_JOIN_CONFLICT (-385)

QUERYFROM join conflict

SE_MISSING_JOIN_TABLE (-386)

QUERYFROM join table is missing.

SE_INVALID_QUERYTABLE_OBJECT (-387)

SE_QUERYTABLE object is not initialized.

SE_INVALID_QUERYFROM_OBJECT (-388)

SE_QUERYFROM object is not initialized

SE_INVALID_XMLCONSTRAINT_OBJECT (-389)

SE_XMLCONSTRAINT object is not initialized

SE_INVALID_ATTRIBUTECONSTRAINT_OBJECT (-390)

SE_ATTRIBUTECONSTRAINT object is not initialized.

SE_INVALID_QUERYWHERE_OBJECT (-391)

SE_QUERYWHERE object is not initialized

SE_CPG_OPEN_ERROR (-392)

Error opening the code page converter.

SE_CPG_CONVERSION_OVERFLOW (-393)

The destination string buffer is too small.

SE_CPG_CONVERSION_ERROR (-394)

Code page conversion error

SE_STATE_CLOSED (-395)

The specified operation is not valid on a closed state.

SE_INVALID_ON_BASE_STATE (-396)

The requested operation is not valid on the base state.

SE_DC_LICENSE_SERVER_NOT_REGISTERED (-397)

No longer in use

The direct connection is not registered with an ArcSDE server license.

SE_INVALID_ID_RANGE (-398)

The given range of IDs is invalid.

SE_STATEOBJECT_HAS_NO_LINEAGE (-399)

This state object does not contain lineage information.

SE_OGCWKB_UNSUPPORTED_EYTPE (-400)

The OGCWKB type does not support annotation or CAD data entity types.

SE_SET_ORIGIN_NOT_ALLOWED (-401)

Setting the image origin in this case is not allowed.

SE_INVALID_IMAGE_ORIGIN (-402)

The specified image origin is not valid.

SE_RASTERBAND_NO_GDB_METADATA (-403)

The raster band has no geodatabase metadata.

SE_INVALID_RASTERBAND_GDB_METADATA (-404)

Invalid raster band geodatabase metadata was specified or returned.

SE_COMPLEX_COL_INDX_NOT_ALLOWED (-405)

You cannot create an index on a complex column.

SE_COMPRESS_ALREADY_RUNNING (-406)

You cannot start a compress operation if compress is already running.

SE_SCHEMA_OUT_OF_DATE (-407)

ArcSDE has detected that the schema information in the COLUMN_REGISTRY table is out of date.

SE_MVTABLE_HAS_DELTA_ROWS (-408)

The multiversioned table has rows in one or both of the delta tables.

SE_LOST_DBMS_CONNECTION (-409)

The application can no longer connect to the underlying DBMS.

SE_INT32_OVERFLOW (-410)

The specified value is too large for a 32-bit integer.

SE_INVALID_DBTUNEPARAM_OBJECT (-411)

The DBTUNEPARAM object is not initialized.

SE_INVALID_DBTUNEKEYWORD_OBJECT (-412)

The DBTUNEKEYWORD object is not initialized.

SE_TABLE_ARCHIVING (-413)

The specified table is already enabled for archiving.

SE_TABLE_NOT_ARCHIVING (-414)

Archiving is not enabled on this table.

SE_INVALID_XMLCOLUMN_ALTER (-415)

An attempt was made to modify an XML column property that cannot change.

SE_INVALID_INSTANCEINFO_OBJECT (-416)

The supplied user-schema geodatabase handle is not valid. (Oracle only)

SE_SCHEMA_EXISTS (-417)

A geodatabase already exists in this schema. (Oracle only)

SE_SCHEMA_NO_CREATE_PERMISSIONS (-418)

The specified user has no permissions to create tables in this schema.

SE_LAYER_REGISTERED_OUTSIDE_SCHEMA (-419)

The layer is already registered outside of the current schema.

SE_TABLE_REGISTERED_OUTSIDE_SCHEMA (-420)

The nonspatial table is already registered outside of the current schema.

SE_NOT_IN_USER_TRANS (-421)

The specified operation is only valid if there is a user transaction.

SE_INVALID_DATASOURCE (-422)

The specified data source server was not found.

SE_SCHEMA_NOT_MASTER_INSTANCE (-423)

The supplied schema is not the master (SDE) schema. (Oracle only)

SE_XML_COLUMN_ALTERINDEX_MODE (-424)

The column index is being altered.

SE_XML_COLUMN_LOAD_MODE (-425)

The XML column is in load-only I/O mode.

SE_XML_COLUMN_NORMAL_MODE (-426)

The XML column is in normal I/O mode.

SE_LOAD_ONLY_TABLE (-427)

The table is in load-only I/O mode.

SE_INVALID_ARCHIVING_REGISTRATION (-428)

You cannot enable or disable archiving during create/alter registration.

SE_INVALID_DBTUNE_DATA (-429)

One or more of the keywords, parameters, or configuration strings in the DBTUNE table are invalid.

SE_KEYSET_TABLE_CREATE_FAILED (-430)

The keyset table could not be created.

SE_KEYSET_TABLE_REMOVE_FAILED (-431)

The keyset table could not be removed.

SE_INVALID_HISTORY_OPERATION (-432)

The attempted operation is not allowed on a history table.

SE_ST_GEOMETRY_TYPE_NOT_INSTALLED (-433)

The ST_GEOMETRY type does not exist in the database.

SE_INVALID_CONNECTION_PROPERTY (-434)

One or more invalid connection property or properties were specified.

SE_INVALID_OBJECT (-435)

The object being referenced is not initialized.

SE_RASTER_CODEC_ERROR (-436)

General raster compression error

SE_INVALID_ARCHIVE_OBJECT (-437)

The SE_ARCHIVEINFO object is not initialized.

SE_DBMS_CONSTRAINT_NOEXIST (-438)

DBMS constraint does not exist.

SE_DBMS_CONSTRAINT_EXIST (-439)

A DBMS constraint exists.

SE_INVALID_LAYERGRID_OBJECT (-440)

The SE_LAYERGRID pointer is not initialized.

SE_INVALID_REVOKE_SELECT (-441)

INSERT, UPDATE, and DELETE access must be revoked first.

SE_QUERY_KEYSET_NOT_SET (-442)

A keyset table was not created for the query.

SE_INVALID_RASTER_COL_NAME (-443)

An invalid raster column name was specified.

SE_INVALID_KEYSET_OPERATION (-444)

This operation not supported with a keyset table.

SE_INVALID_GEOM_TYPE (-445)

The geometry type has become invalid.

SE_INVALID_GEOR_METADATA (-446)

Invalid SDO_GeoRaster metadata

SE_PDQ_BIND_MISMATCH (-447)

The predefined query requires different dynamic binds.

SE_TABLE_NOT_HISTORY (-448)

The table must be a history table for to perform this operation.

SE_DEPENDENT_OBJECTS_EXIST (-449)

Dependent objects exist on this object.

SE_INSTANCE_RELEASE_INCOMPATIBLE (-450)

The specified ArcSDE database instance is not compatible with the direct-connect driver release used to make the connection.

SE_TAG_VALUE_LEN_EXCEEDED (-451)

The text in a VARCHAR tag exceeded 256 characters.

SE_OBJECT_EXISTS (-452)

The specified database object exists.

SE_INCONSISTENT_SCHEMA (-453)

The specified database user and current schema do not have the same name. Each user who will own data must have a schema with the same name as the user name.

SE_DBMS_SPACE_LIMIT_EXCEEDED (-454)

The DBMS space limit has been reached.

SE_INVALID_ST_GEOMETRY_RELEASE (-455)

Invalid ST_Geometry type release

SE_PASSWORD_LEN_EXCEEDED (-456)

The specified password is too long for this ArcSDE server.

SE_LAYER_NOT_REGISTERED (-457)

The table containing a spatial column is not registered as a layer with ArcSDE.

SE_POSTGIS_NOT_INSTALLED (-458)

The PostGIS geometry type is not installed.

SE_ATTRBUFFER_TOO_SMALL (-459)

The attribute buffer size is too small.

SE_CASE_SENSITIVE_DATABASE_NOT_SUPPORTED (-460)

Case sensitive databases are not supported.

SE_HAS_PROJECT_INSTANCES (-461)

A geodatabase exists in a user's schema that is dependent on the master SDE geodatabase. (Oracle only)

SE_CONTAINS_OTHER_REG_TABLES (-462)

This schema owns objects that are registered with geodatabases in other schemas. (Oracle only).

SE_INSTANCE_HAS_CONNECTIONS (-463)

Connections exist to the SDE master geodatabase or geodatabases owned by other users. (Oracle only)

SE_TYPE_HAS_DEPENDENT_COLUMNS (-464)

There are dependent columns of the ST_GEOMETRY type; therefore, you cannot delete the master SDE geodatabase. (Oracle only)

SE_INSTANCE_OLD_DBRELEASE (-465)

A newer release ArcSDE direct-connect driver is attempting to connect to an older release ArcSDE geodatabase.

SE_INSTANCE_OLD_DC_DRIVER (-466)

An older release ArcSDE direct-connect driver is attempting to connect to a newer release ArcSDE geodatabase.

SE_TAG_NAME_LEN_EXCEEDED (-467)

The name of the specified tag is too long.

SE_CPG_CONVERSION_ILLEGAL_BYTE_SEQUENCE (-468)

Illegal byte sequence in string

SE_HAS_MULTIPLE_SPATIAL_REFERENCES (-469)

The spatial column data contains multiple spatial references; all records in a table must have the same spatial reference to be registered with ArcSDE.

SE_FUNCTION_EXISTS (-470)

The function or procedure specified for creation already exists.

SE_FUNCTION_NOEXIST (-471)

The function or procedure called does not exist.

SE_INSTANCE_HAS_ACTIVE_CONNECTIONS (-472)

Active connections were found during the upgrade process. The upgrade will not proceed if there are active connections to the geodatabase.

SE_INVALID_PROXY_AUTHENTICATE_PARAMETERS (-473)

Invalid parameters were provided in the request to switch to a proxy-authenticated session.

SE_OPERATION_WOULD_BLOCK (-474)

The specified SQL statement would cause a database deadlock with a statement executed by another session.

SE_NOT_SUPPORTED_ON_NON_GDB_CONNECTIONS (-475)

This operation is not supported on connections to databases that have no ArcSDE geodatabase system tables in them. (In other words, the operation is not supported when working with a database that is not a geodatabase.)

SE_PREALLOCATED_CLOB_BUFFER_TOO_SMALL (-476)

The preallocated CLOB buffer size is insufficient.

SE_INDEX_NAME_LEN_EXCEEDED (-477)

The specified index name is too long.

SE_INVALID_XMLINDEX_DATATYPE (-478)

Invalid index data type

SE_TABLE_PRIMARY_KEY_NOT_FOUND (-479)

A primary key column was not found for the table.

SE_INVALID_ST_RASTER_RELEASE (-480)

The ST_Raster library was detected but is not compatible with (is a different release than) the ST_Raster stored procedures.

SE_INSTANCE_UPGRADE_PAUSE_STATUS (-481)

The ArcSDE geodatabase is currently paused for upgrade; no new connections are allowed while the geodatabase is being upgraded.

SE_INVALID_XMLSCHEMADOC_OBJECT (-482)

Invalid XML schema document object

SE_INVALID_XMLSCHEMA_OBJECT (-483)

Invalid XML schema object

SE_XML_SCHEMA_EXISTS (-484)

The specified XML schema already exists.

SE_XML_SCHEMA_NOEXIST (-485)

The specified XML schema does not exist.

SE_INVALID_EXTENT_STATS_QUERY_OBJECT (-486)

Not currently in use. The SE_EXTENT_STATS_QUERY object was not initialized.

SE_INVALID_XMLSCHEMACOLLECTION_OBJECT (-487)

An invalid XML schema collection object was specified.

SE_XML_SCHEMA_NAME_LEN_EXCEEDED (-488)

The XML schema name is too long. The limits for each supported DBMS are as follows: Oracle = 767, DB2 = 128, SQL Server = 1000.

SE_XML_SCHEMA_INVALID_CREATE_FLAG (-489)

The XML schema create option provided is invalid.

SE_XML_SCHEMA_INVALID_DELETE_FLAG (-490)

The XML schema delete option provided is invalid.

SE_XML_SCHEMA_INVALID_UPDATE_FLAG (-491)

The XML schema update option provided is invalid.

SE_INVALID_ST_RASTER_LIB (-492)

The ST_Raster type library could not be found or could not be loaded. See the installation guide or ArcGIS Server documentation for details on the ST_Raster libraries.

SE_SQL_SERVER_CLIENT_SOFTWARE_TOO_OLD (-493)

The connection was attempted with an older version of SQL Server client communications software that is not compatible with the SQL Server database.

SE_UNSUPPORTED_DATABASE_VERSION (-494)

The version of the DBMS to which you are connecting is not supported.

SE_CANT_EVALUATE_RELATION_MATRIX (-495)

The shape comparison language relate operation cannot be applied to this pair of geometries. This message is returned if the operation is attempted on 2D hybrid shapes that cannot be expressed using a single 9DEM matrix.

SE_INVALID_ARCHIVING_OPERATION (-496)

The requested operation is not supported on an archiving table.

SE_UNSUPPORTED_DC_DRIVER (-497)

Because Oracle 11g was not supported with ArcSDE 9.2, you must use an Oracle 10g client to make a direct connection to an ArcSDE 9.2 geodatabase stored in an Oracle 10g database. Alternatively, you can use an ArcSDE service to make the connection.

Nonfatal warnings

The following codes are returned when a non-fatal exception occurs.

SE_SDE_WARNING (-1000)

Returned by functions that completed successfully but made changes of which the caller needs to be aware. This return code should not be considered a fatal error by the application program.

SE_ETYPE_CHANGED (-1001)

The function completed successfully but it changed the entity type of the shape.

SE_NO_ROWS_DELETED (-1002)

No rows were deleted.

SE_TOO_MANY_DISTINCTS (-1003)

The user tried to perform an SE_DISTINCT_STATS statistic and the resulting number of distinct values exceeds the maximum number allowed. The maximum allowed is the lesser of MAX_DISTINCT (SERVER_CONFIG) and the max_distinct argument in SE_table_calculate_stats.

SE_NULL_VALUE (-1004)

Returned by the SE_stream_get_<data_type> functions when the given column has a NULL value in the current row.

SE_NO_ROWS_UPDATED (-1005)

Returned during an update operation when no rows satisfied the user's WHERE clause.

SE_NO_CPGCVT (-1006)

No code page conversion.

SE_NO_CPGHOME (-1007)

Cannot find the code page directory.

SE_DBMS_DOES_NOT_SUPPORT (-1008)

The DBMS does not support this function.

SE_INVALID_FUNCTION_ID (-1009)

The DBMS function ID is invalid. Returned by SE_connection_get_dbms_function.

SE_LAYERS_UPDATE_FAILED (-1010)

The layer extent could not be updated.

SE_NO_LOCALIZED_MESSAGE (-1011)

No localized error messages are available.

SE_SPATIAL_INDEX_NOT_CREATED (-1012)

A spatial index was not created because the SPIDX_PARAM specified is not supported.

SE_FUNC_UNSUPPORTED_ON_DBMS (-1013)

ArcSDE does not support this function on this DBMS.

SE_SQL_NOT_CACHED (-1014)

The SQL statement that is being re-executed was not found in the cache.

SE_OBJECT_NOEXIST (-1015)

The object being referenced does not exist.

SE_SDO_VARRAY_LIMIT (-1016)

The limit for maximum number of ordinates in the SDO_ORDINATES array has been reached.

SE_SPATIALREF_NO_CLUSTER_TOL (-1017)

No cluster tolerance properties persisted in this spatial reference schema.

SE_NO_COMPRESS_STATUS (-1018)

No compress status information is available.

SE_SUCCESS_WITH_WARNINGS (-1019)

The operation succeeded with warning messages written to a log file.

 

Exit codes

Exit codes indicate whether a connection exits successfully and, if not, why it did not. Different types of exit codes can be returned.

If the connection was dropped on a signal or with an operating system (OS) exception code, see the OS documentation for explanations of those codes or warnings.

ArcSDE service connection exit codes are managed by the giomgr and are written to the giomgr.log file when a connection's gsrvr exits. Exit code numbers 0 – 9 in the following list represent ArcSDE service exit codes.

Direct connection exit codes are returned when the gsrvr thread from the client is unable to access a particular system table. These exit codes are seen if you trap for them on the gsrvr thread. Exit code numbers 10 – 15 in the following list are direct connection exit codes.

SE_EXIT_SUCCESS  0

Connection successfully exited.

SE_EXIT_INVALID_COMMAND_LINE  1

Returned when an invalid instance, node, database, or user name is used. (For instance, if it contained spaces or was not enclosed in quotes when it should have been.)

SE_EXIT_IOMGR_IO_ERROR  2

The iomgr died while communicating with the new gsrvr process.

SE_EXIT_DBMS_CONNECT_REJECTED  3

A problem occurred when trying to connect to the DBMS. Check the error log.

SE_EXIT_SHARED_MEMORY_ERROR 4

Encountered a problem when accessing the DBMS shared memory tables. Check the error log.

SE_EXIT_MALLOC_ERROR 5

Could not allocate enough memory for the minimum structures required for the gsrvr.

SE_EXIT_CLIENT_IO_ERROR 6

An error was encountered in setting up communications to the client. Make sure the client is still running.

SE_EXIT_LOGFILE_INIT_FAILED 7

A fatal error occurred when setting up log files. Check the error log.

SE_EXIT_LOST_CLIENT 8

The client application disconnected unexpectedly.

SE_EXIT_BAD_COMMAND_CODE 9

Error in the client/server dialog.

SE_EXIT_REGISTRY_INIT_FAILED 10

An error occurred when setting up access to the TABLE_REGISTRY or COLUMN_REGISTRY tables (sde_table_registry and sde_column_registry in SQL Server and PostgreSQL). (Direct connections only)

SE_EXIT_LAYERS_INIT_FAILED 11

An error occurred when setting up access to the LAYERS table (sde_layers in SQL Server and PostgreSQL). (Direct connections only)

SE_EXIT_METADATA_INIT_FAILED 12

An error occurred while setting up access to the METADATA table (sde_metadata in SQL Server and PostgreSQL). (Direct connections only)

SE_EXIT_RASTER_INIT_FAILED 13

An error occurred while setting up access to the RASTER_COLUMNS table (sde_raster_columns in SQL Server and PostgreSQL). (Direct connections only)

SE_EXIT_VERSION_INIT_FAILED 14

Error in setting up access to the VERSIONS and STATES tables (sde_versions and sde_states in SQL Server and PostgreSQL).  (Direct connections only)

SE_EXIT_LOCATOR_INIT_FAILED 15

Error in setting up access to the LOCATORS table (sde_locators in SQL Server and PostgreSQL). (Direct connections only)

SE_EXIT_NO_LOCALIZED_MESSAGE 16

Could not find a localized start up failure message to send client during failed connection.

SE_EXIT_MUTEX_ERROR 17

Obsolete message since 8.0