Oracle Objects for OLE Release 9.2 Part Number A95895-01 |
|
The programmatic interface of the OO4O automation server is the OO4O In-Process Automation Server. Errors that occur during execution of methods are frequently reported simply as an OLE Automation Error (ERR = 440, ERROR$ ="OLE Automation Error").
When these error occur, check the LastServerErr property of the OraSession and OraDatabase objects to determine whether an Oracle database error has occurred. If LastServerErr is non-zero, then an error has been raised by the OO4O automation server.
To find the OO4O automation server Error, scan the string returned by the ERROR$ function for the string "OIP-NNNN" where NNNN is an error number included in the following table.
Note: These values are included in the oraconst.txt file in the ORACLE_BASE\ORACLE_HOME\oo4o directory.
Constants
Constant |
Value |
Description |
---|---|---|
OERROR_ADVISEULINK |
4096 |
Internal error: Invalid advisory connection. |
OERROR_POSITION |
4098 |
An attempt was made to retrieve a field value from an empty dynaset. |
OERROR_NOFIELDNAME |
4099 |
An invalid field name was specified. |
OERROR_TRANSIP |
4101 |
A BeginTrans was specified while a transaction is already in progress |
OERROR_TRANSNIPC |
4104 |
A CommitTrans was specified without first executing BeginTrans. |
OERROR_TRANSNIPR |
4105 |
A Rollback was specified without first executing BeginTrans. |
OERROR_NODSET |
4106 |
Internal error: System attempted to destroy non-existent dynaset. |
OERROR_INVROWNUM |
4108 |
An attempt was made to reference an invalid row. This will happen when EOF or BOF is True or when the current row has been deleted and no record movement has occurred. |
OERROR_TEMPFILE |
4109 |
An error occurred while trying to create a temporary file for data caching. |
OERROR_DUPSESSION |
4110 |
An attempt was made to create a named session using CreateSession or CreateNamedSession that already exists. |
OERROR_NOSESSION |
4111 |
Internal error: System attempted to destroy non-existent session. |
OERROR_NOOBJECTN |
4112 |
An attempt was made to reference a named object of a collection (other than the fields collection) that does not exist. |
OERROR_DUPCONN |
4113 |
Internal error: Duplicate connection name. |
OERROR_NOCONN |
4114 |
Internal error: System attempted to destroy non-existent connection. |
OERROR_BFINDEX |
4115 |
An invalid field index was specified. The range of indices is 0 to Count -1. |
OERROR_CURNREADY |
4116 |
Internal error: System attempted to move to row in invalid dynaset. |
OERROR_NOUPDATES |
4117 |
An attempt was made to change the data of a non-updatable dynaset. |
OERROR_NOTEDITING |
4118 |
An attempt was made to change a fields value without first executing Edit. |
OERROR_DATACHANGE |
4119 |
An attempt was made to Edit data in the local cache, but the data on the Oracle server has been changed. |
OERROR_NOBUFMEM |
4120 |
Out of memory for data binding buffers. |
OERROR_INVBKMRK |
4121 |
An invalid bookmark was specified. |
OERROR_BNDVNOEN |
4122 |
Internal error: Bind variable not enabled. |
OERROR_DUPPARAM |
4123 |
An attempt was made to create a named parameter using Add, but that name already exists. |
OERROR_INVARGVAL |
4124 |
An invalid offset or length parameters was passed to GetChunk or an internal error has occurred using AppendChunk. |
OERROR_INVFLDTYPE |
4125 |
An attempt was made to use GetChunk or Append Chunk on a field that was not of the type Long or Long Raw. |
OERROR_INVARG |
4126 |
An Invalid argument value was entered. |
OERROR_TRANSFORUP |
4127 |
A SELECT ... FOR UPDATE was specified without first executing BeginTrans. |
OERROR_NOTUPFORUP |
4128 |
A SELECT ... FOR UPDATE was specified but the query is non-updatable. |
OERROR_TRANSLOCK |
4129 |
A Commit or Rollback was executed while a SELECT ... FOR UPDATE is in progress. |
OERROR_CACHEPARM |
4130 |
An invalid cache parameter was specified. Note that the maximum value for CacheBlocks is 127. |
OERROR_FLDRQROWID |
4131 |
An attempt was made to reference a field that requires a ROWID (Long or Long Raw), but the ROWID was not available. |
OERROR_OUTOFMEMORY |
4132 |
Internal Error |
OERROR_MAXSIZE |
4135 |
Element size specified in AddTable exceeds the maximum allowed size for that variable type. See AddTable Method for more details. |
OERROR_INVDIMENSION |
4136 |
Dimension specified in AddTable is invalid (i.e. negative). See AddTable Method for more details. |
OERROR_ARRAYSIZ |
4138 |
Dimensions of array parameters used in insert/update/delete statements are not equal. |
OERROR_ARRAYFAILP |
4139 |
Error processing arrays. For details refer to oo4oerr.log in the windows directory. |
OERROR_CREATEPOOL |
4147 |
Database Pool Already exists for this session. |
OERROR_GETDB |
4148 |
Unable to obtain a free database object from the pool. |
|
Copyright © 1994, 2002 Oracle Corporation. All Rights Reserved. |
|