Database Errors implemented by SiteMinder Policy Server.

Document ID : KB000052968
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This is a complete list of database errors implemented by SiteMinder Policy Server.

Solution:

Internal Error codes SiteMinder: 
SMDB_ERROR_TIMEOUTGETTINGCONNECTION              -1001 
SMDB_ERROR_NOTFOUND                              -1002 
SMDB_ERROR_CONNECTIONTIMEOUTEXCEEDED             -1021
SMDB_ERROR_LOGINTIMEOUTEXCEEDED                  -1022
SMDB_ERROR_QUERYTIMEOUTEXCEEDED                  -1023
SMDB_ERROR_CONNECTIONNOTAVAILABLE                -1024
SMDB_ERROR_CONNECTIONCOUNTEXCEEDED               -1025
SMDB_ERROR_INVALIDSERVERNAME                     -1026
SMDB_ERROR_INVALIDCREDENTIALS                    -1027
SMDB_ERROR_INVALIDINDEX                          -1028
SMDB_ERROR_CREDENTIALSNOTSET                     -1029
SMDB_ERROR_SESSIONNOTACTIVE                      -1030
SMDB_ERROR_INVALIDCOLUMNNUMBER                   -1031
SMDB_ERROR_STATEMENTNOTACTIVE                    -1032
SMDB_ERROR_DBNEEDDATA                            -1033
SMDB_ERROR_NOTINTRANSACTION                      -1034
SMDB_ERROR_DBTYPENOTINITIALIZED                  -1035
SMDB_ERROR_DBTYPEALREADYINITIALIZED              -1036
SMDB_ERROR_INVALIDNAMESPACE                      -1037
SMDB_ERROR_DBHANDLENOTEXECUTED                   -1038
SMDB_ERROR_USERBUFFERNOTBOUND                    -1039
SMDB_ERROR_DBFETCHFORUNDEFINEDDATA               -1040
SMDB_ERROR_DBFETCHOUTOFSEQUENCE                  -1041
SMDB_ERROR_DBINVALIDCURSOR                       -1042
SMDB_ERROR_THREADTIMEOUT                         -1043
SMDB_ERROR_WAITTIMEOUT                           -1044
SMDB_ERROR_CONNECTERROR                          -1045
SMDB_ERROR_BRANDINGLIBRARY_LIBRARYNAME           -1047
SMDB_ERROR_BRANDINGLIBRARY_FUNCTIONNAME          -1048
SMDB_ERROR_BRANDINGLIBRARY_LOAD                  -1049
SMDB_ERROR_BUILTINTYPE_NOREGKEYS                 -1050
SMDB_ERROR_BUILTINTYPE_NODATASOURCE              -1051
SMDB_ERROR_RECORDSETNOTOPEN                      -1052
SMDB_ERROR_NAMESPACELIBRARY_LIBRARYNOTFOUND      -1053
SMDB_ERROR_NAMESPACELIBRARY_FUNCTIONNOTFOUND     -1054
SMDB_ERROR_BLOBRETRIEVAL                         -1055
SMDB_ERROR_DBTABLEORVIEWNOTFOUND                 -1056
SMDB_ERROR_SMDBNOTINITIALIZED                    -1057
SMDB_ERROR_DBSQL                                 -1058
SMDB_ERROR_DBSQLDUPLICATE                        -1059
SMDB_ERROR_DBNAMEINUSE                           -1060
SMDB_ERROR_DBINVALIDSTOREDPROCEDURECALLSYNTAX    -1061
SMDB_ERROR_DBTOOMANYPARAMETERS                   -1062
SMDB_ERROR_SESSIONHUNG                           -1063
SMDB_INTERNALERROR_NOTIMPLEMENTED                -4001
SMDB_INTERNALERROR_STATEMENTNOTALLOCATED         -4002
SMDB_INTERNALERROR_NULLCONNECTION                -4003
SMDB_INTERNALERROR_NAMESPACEMISMATCH             -4004
SMDB_INTERNALERROR_SESSIONMANAGERNOTSET          -4005
SMDB_INTERNALERROR_BINDCONNECTIONNULL            -4006
SMDB_INTERNALERROR_DB                            -4007
SMDB_INTERNALERROR_DBINVALIDHANDLE               -4008
SMDB_INTERNALERROR_SEMAPHORE                     -4009
SMDB_INTERNALERROR_LOCKEDRESOURCETIMEOUT         -4010
SMDB_INTERNALERROR_INTERNALBUFFERNOTBOUND        -4011
SMDB_INTERNALERROR_MULTIPROCESSDBERROR           -4012
SMDB_INTERNALERROR_SIGNAL                        -4013
SMDB_INTERNALERROR_CREATESESSIONMANAGERWAITER    -4014
SMDB_INTERNALERROR_WAITFAILED                    -4015
SMDB_INTERNALERROR_CHECKCONNECTIONFAILED         -4016
SMDB_INTERNALERROR_DBTRANSPORTERROR              -4017
SMDB_INTERNALERROR_DATAVALIDATIONMISMATCH        -4018
SMDB_INTERNALERROR_DBTYPEDISABLED  -4019 
Message  logged for error type: 
SMDB_ERROR_TIMEOUTGETTINGCONNECTION             "Timeout getting connection"
SMDB_ERROR_NOTFOUND                           "Not found"
SMDB_ERROR_CONNECTIONTIMEOUTEXCEEDED          "Connection timeout exceeded" 
SMDB_ERROR_LOGINTIMEOUTEXCEEDED               "Login timeout exceeded" 
SMDB_ERROR_QUERYTIMEOUTEXCEEDED               "Query timeout exceeded" 
SMDB_ERROR_CONNECTIONNOTAVAILABLE             "Connection not available" 
SMDB_ERROR_CONNECTIONCOUNTEXCEEDED            "Maximum active session count exceeded" 
SMDB_ERROR_INVALIDSERVERNAME                  "Invalid server name" 
SMDB_ERROR_INVALIDCREDENTIALS                 "Invalid database credentials" 
SMDB_ERROR_INVALIDINDEX                       "Invalid index"
SMDB_ERROR_CREDENTIALSNOTSET                  "Credentials not set" 
SMDB_ERROR_SESSIONNOTACTIVE                   "Session not active" 
SMDB_ERROR_INVALIDCOLUMNNUMBER                "Invalid column number" 
SMDB_ERROR_STATEMENTNOTACTIVE                 "Statement not active" 
SMDB_ERROR_DBNEEDDATA                         "Database error. Needs data" 
SMDB_ERROR_NOTINTRANSACTION                   "Not in a transaction" 
SMDB_ERROR_DBTYPENOTINITIALIZED               "Database type not initialized" 
SMDB_ERROR_DBTYPEALREADYINITIALIZED           "Database type already initialized" 
SMDB_ERROR_INVALIDNAMESPACE                   "Invalid database API name space" 
SMDB_ERROR_DBHANDLENOTEXECUTED                "Database handle not executed" 
SMDB_ERROR_USERBUFFERNOTBOUND                 "User buffer not bound" 
SMDB_ERROR_DBFETCHFORUNDEFINEDDATA            "Fetch for undefined data" 
SMDB_ERROR_DBFETCHOUTOFSEQUENCE               "Fetch out of sequence" 
SMDB_ERROR_DBINVALIDCURSOR                    "Invalid cursor" 
SMDB_ERROR_THREADTIMEOUT                      "Thread timeout" 
SMDB_ERROR_WAITTIMEOUT                        "Wait timeout" 
SMDB_ERROR_CONNECTERROR                       "Connect error" 
SMDB_ERROR_BRANDINGLIBRARY_LIBRARYNAME        "Branding library not found" 
SMDB_ERROR_BRANDINGLIBRARY_FUNCTIONNAME       "Branding library funciton not found" 
SMDB_ERROR_BRANDINGLIBRARY_LOAD               "Branding library load failed" 
SMDB_ERROR_BUILTINTYPE_NOREGKEYS,              "No registry keys for built in database type" } ,
SMDB_ERROR_BUILTINTYPE_NODATASOURCE           "No DataSource registry entry for built in database type"
SMDB_ERROR_RECORDSETNOTOPEN                   "Record set not open"
SMDB_ERROR_NAMESPACELIBRARY_LIBRARYNOTFOUND  "Database API library  not found"
SMDB_ERROR_NAMESPACELIBRARY_FUNCTIONNOTFOUND "Database API library  function not found"
SMDB_ERROR_BLOBRETRIEVAL                      "Database BLOB retrieval error"
SMDB_ERROR_DBTABLEORVIEWNOTFOUND              "Table or view not found" 
SMDB_ERROR_DBNAMEINUSE                        "Name already in use (table, view, cluster, index, synonym, ...)" 
SMDB_ERROR_SMDBNOTINITIALIZED                 "SMDB library not initialized"
SMDB_ERROR_DBINVALIDSTOREDPROCEDURECALLSYNTAX"Unexpected ODBC stored  procedure call syntax.  Cannot convert to OCI."
SMDB_ERROR_DBTOOMANYPARAMETERS                "Too many parameters. Only 25 supported in this OCI implementation. "
SMDB_INTERNALERROR_NOTIMPLEMENTED             "Internal Error: Functionality not implemented"
SMDB_INTERNALERROR_STATEMENTNOTALLOCATED     "Internal  Error: Statement not allocated"
SMDB_INTERNALERROR_NULLCONNECTION             "Internal Error: Null connection pointer"
SMDB_INTERNALERROR_NAMESPACEMISMATCH          "Internal Error: Name space mismatch"
SMDB_INTERNALERROR_SESSIONMANAGERNOTSET       "Internal Error: Session manager not set"
SMDB_INTERNALERROR_BINDCONNECTIONNULL         "Internal Error: Bind connection returned null"
SMDB_INTERNALERROR_DB                         "Internal Error: Database error"
SMDB_INTERNALERROR_DBINVALIDHANDLE            "Internal Error: Invalid database handle"
SMDB_INTERNALERROR_SEMAPHORE                  "Internal Error: Semaphore error"
SMDB_INTERNALERROR_LOCKEDRESOURCETIMEOUT     "Internal  Error: Timeout waiting for locked resource"
SMDB_INTERNALERROR_INTERNALBUFFERNOTBOUND    "Internal  Error: Internal buffer not bound"
SMDB_INTERNALERROR_MULTIPROCESSDBERROR        "Internal Error: Multi-processor database error"
SMDB_INTERNALERROR_SIGNAL                     "Internal Error: Signal error"
SMDB_INTERNALERROR_CREATESESSIONMANAGERWAITER"Internal Error: Create  SessionManagerWaiter failed"
SMDB_INTERNALERROR_WAITFAILED                 "Internal Error: Wait failed"
SMDB_INTERNALERROR_CHECKCONNECTIONFAILED     "Internal  Error: Connection check failed"
SMDB_INTERNALERROR_DBTRANSPORTERROR           "Internal Error: DB Transport Error"
SMDB_INTERNALERROR_DATAVALIDATIONMISMATCH    "Internal  Error: Data validation mismatch"