|
The error codes are defined in dticonst.h. The following errors can be returned by DTI functions:
|
Message
|
Description
|
How to Resolve
|
|---|---|---|
|
P_OK
|
The operation completed successfully.
|
Not applicable.
|
|
P_E_INVALID_HANDLE
|
Invalid connection handle
|
Specify a valid connection handle. Connection handles are obtained with the PvConnectServer() function. For a local connection, P_LOCAL_DB_CONNECTION may be used as the connection handle.
|
|
P_E_NULL_PTR
|
Your operation made a call with a NULL pointer.
|
|
|
P_E_FAIL
|
A general failure occurred.
|
|
|
P_E_DATA_UNAVAILABLE
|
The data related to SQL connections is not available
|
|
|
P_E_INVALID_CLIENT
|
Invalid connection ID
|
|
|
P_E_BUFFER_TOO_SMALL
|
The array size is too small. In this case the required size is returned in pNumSettings.
|
Check the returned pNumSettings and pass an array that is at least that large.
|
|
P_E_INVALID_DATA_TYPE
|
The setting requested is not of different type.
|
|
|
P_E_SET_CURRENT_DATA
|
Cannot set the current setting value
|
|
|
P_E_OUT_OF_RANGE
|
The setting value to be set is out of range.
|
Check the value you specified against the allowed range for the setting.
|
|
P_E_INVALID_SELECTION
|
At least one selection item is invalid
|
|
|
P_E_INVALID_SEQUENCE
|
Sequence number is not valid
|
|
|
P_E_FILE_NOT_OPEN
|
The file you specified is not currently open.
|
|
|
P_E_CONN_NOT_OPEN
|
Specified SQL connection no longer exists
|
|
|
P_E_DICTIONARY_ALREADY_EXISTS
|
Cannot create dictionary because it already exists.
|
|
|
P_E_SHARED_DDF_EXIST
|
Cannot create DDF files because
|
|
|
P_E_COMPONENT_NOT_LOADED
|
Component is not loaded.
|
|
|
PS_E_LIC_NOT_FOUND
|
License key not found
|
Specify a valid license key.
|
|
PS_E_LIC_INVALID
|
License key is invalid
|
Specify a valid license key.
|
|
PS_E_LIC_ALREADY_INSTALLED
|
License key is already installed.
|
Specify a unique license key.
|
|
PS_E_LIC_INVALID_PRODUCT_REQUEST
|
An invalid product key was specified.
|
Check the specified key.
|
|
PS_E_LIC_INVALID_COUNT_REQUEST
|
An invalid user count increment was specified.
|
Check your licensed user counts.
|
|
P_E_SERVER_NOT_FOUND
|
The specified server was not found
|
|
|
P_E_ENGINE_NOT_LOADED
|
The specified engine is not running.
|
|
|
P_E_REQUESTER_NOT_LOADED
|
The client requester is not loaded.
|
|
|
P_E_SERVER_TABLE_FULL
|
The internal server name table is full.
|
|
|
P_E_CLIENT_CONNECTIONS_
LIMIT_REACHED |
The operation could not connect because the limit on client connections has been reached. Check the configuration of the server.
|
|
|
P_E_PERMISSION_ERROR
|
The operation encountered a permissions error.
|
|
|
P_E_NO_MEMORY
|
The operation encountered a memory error.
|
|
|
P_E_NO_AVAILABLE_TRANSPORT
|
No remote connection could be established.
|
|
|
P_E_CONNECTION_LOST
|
The remote connection to the server was lost.
|
|
|
PCM_Success
|
The operation completed successfully
|
Not applicable.
|
|
PCM_errFailed
|
A general failure occurred.
|
|
|
PCM_errMemoryAllocation
|
Error during memory allocation
|
|
|
PCM_errDictionaryNotFound
|
The specified dictionary data path was not found.
|
|
|
PCM_errDictionaryAlreadyOpen
|
The specified dictionary was already open.
|
|
|
PCM_errDictionaryNotOpen
|
The specified dictionary is not open.
|
|
|
PCM_errInvalidDictionaryHandle
|
The specified dictionary handle was invalid.
|
|
|
PCM_errTableNotFound
|
The specified table was not found.
|
|
|
PCM_errInvalidTableName
|
The specified table name is invalid.
|
|
|
PCM_errInvalidColumnName
|
The specified column name is invalid.
|
|
|
PCM_errInvalidDataType
|
The specified data type is invalid.
|
|
|
PCM_errDuplicateColumnName
|
The column name already exists in the table.
|
|
|
PCM_errInvalidDataSize
|
The data size is invalid.
|
|
|
PCM_errInvalidColumnOrder
|
The column order was invalid.
|
|
|
PCM_errInvalidIndexName
|
The specified index name was invalid.
|
|
|
PCM_errColumnNotFound
|
The specified column was not found in the table.
|
|
|
PCM_errTooManySegments
|
More than the maximum number of segments was specified.
|
|
|
PCM_errStringTooShort
|
The string buffer had insufficient size.
|
Increase the size of your string buffer.
|
|
PCM_errDictionaryAlreadyExists
|
The dictionary you specified already exists and cannot be created.
|
Specify a new dictionary name.
|
|
PCM_errDirectoryError
|
The file could not be created due to a directory error.
|
Check the path you specified and try again.
|
|
PCM_errSessionSecurityError
|
Either your user name or password is incorrect when creating or opening a dictionary.
|
Check your user name and password values and try again.
|
|
PCM_errDuplicateTable
|
The table you specified cannot be created because it already exists.
|
Specify a different table name.
|
|
PCM_errDuplicateIndex
|
The index you specified cannot be created because it already exists.
|
Specify a different index name.
|
|
Chapter contents
Prev topic: Functional Groups
|