Partilhar via


OLEDB Errors

Value Error token Description

0x80040E00L

DB_E_BADACCESSORHANDLE

Accessor is invalid.

0x80040E01L

DB_E_ROWLIMITEXCEEDED

Row could not be inserted into the rowset without exceeding provider's maximum number of active rows.

0x80040E02L

DB_E_READONLYACCESSOR

Accessor is read-only. Operation failed.

0x80040E03L

DB_E_SCHEMAVIOLATION

Values violate the database schema.

0x80040E04L

DB_E_BADROWHANDLE

Row handle is invalid.

0x80040E05L

DB_E_OBJECTOPEN

Object was open.

0x80040E06L

DB_E_BADCHAPTER

Invalid chapter.

0x80040E07L

DB_E_CANTCONVERTVALUE

A literal value in the command could not be converted to the correct type due to a reason other than data overflow.

0x80040E08L

DB_E_BADBINDINFO

Invalid binding info.

0x80040E09L

DB_SEC_E_PERMISSIONDENIED

Permission denied.

0x80040E0AL

DB_E_NOTAREFERENCECOLUMN

Specified column does not contain bookmarks or chapters.

0x80040E0BL

DB_E_LIMITREJECTED

Some cost limits were rejected.

0x80040E0CL

DB_E_NOCOMMAND

No command has been set for the command object.

0x80040E0DL

DB_E_COSTLIMIT

Unable to find a query plan within the given cost limit.

0x80040E0EL

DB_E_BADBOOKMARK

Invalid bookmark.

0x80040E0FL

DB_E_BADLOCKMODE

Invalid lock mode.

0x80040E10L

DB_E_PARAMNOTOPTIONAL

No value given for one or more required parameters.

0x80040E11L

DB_E_BADCOLUMNID

Invalid column ID.

0x80040E12L

DB_E_BADRATIO

Invalid ratio.

0x80040E13L

DB_E_BADVALUES

Invalid value.

0x80040E14L

DB_E_ERRORSINCOMMAND

The command contained one or more errors.

0x80040E15L

DB_E_CANTCANCEL

The executing command cannot be canceled.

0x80040E16L

DB_E_DIALECTNOTSUPPORTED

The provider does not support the specified dialect.

0x80040E17L

DB_E_DUPLICATEDATASOURCE

A data source with the specified name already exists.

0x80040E18L

DB_E_CANNOTRESTART

The rowset was built over a live data feed and cannot be restarted.

0x80040E19L

DB_E_NOTFOUND

No key matching the described characteristics could be found within the current range.

0x80040E1BL

DB_E_NEWLYINSERTED

The provider is unable to determine identity for newly inserted rows.

0x80040E1AL

DB_E_CANNOTFREE

Ownership of this tree has been given to the provider.

0x80040E1CL

DB_E_GOALREJECTED

No nonzero weights specified for any goals supported, so goal was rejected; current goal was not changed.

0x80040E1DL

DB_E_UNSUPPORTEDCONVERSION

Requested conversion is not supported.

0x80040E1EL

DB_E_BADSTARTPOSITION

lRowsOffset would position you past either end of the rowset, regardless of the cRows value specified; cRowsObtained is 0.

0x80040E20L

DB_E_NOTREENTRANT

Provider called a method from IRowsetNotify in the consumer, and the method has not yet returned.

0x80040E21L

DB_E_ERRORSOCCURRED

Errors occurred.

0x80040E22L

DB_E_NOAGGREGATION

A non-NULL controlling IUnknown was specified, and the object being created does not support aggregation.

0x80040E23L

DB_E_DELETEDROW

The current row was deleted.

0x80040E24L

DB_E_CANTFETCHBACKWARDS

The rowset does not support fetching backwards.

0x80040E25L

DB_E_ROWSNOTRELEASED

All HROWs must be released before new ones can be obtained.

0x80040E26L

DB_E_BADSTORAGEFLAG

One of the specified storage flags was not supported.

0x80040E27L

DB_E_BADCOMPAREOP

The comparison operator was invalid.

0x80040E28L

DB_E_BADSTATUSVALUE

The specified status flag was neither DBCOLUMNSTATUS_OK nor DBCOLUMNSTATUS_ISNULL.

0x80040E29L

DB_E_CANTSCROLLBACKWARDS

The rowset cannot scroll backwards.

0x80040E2AL

DB_E_BADREGIONHANDLE

Invalid region handle.

0x80040E2BL

DB_E_NONCONTIGUOUSRANGE

The specified set of rows was not contiguous to or overlapping the rows in the specified watch region.

0x80040E2CL

DB_E_INVALIDTRANSITION

A transition from ALL* to MOVE* or EXTEND* was specified.

0x80040E2DL

DB_E_NOTASUBREGION

The specified region is not a proper subregion of the region identified by the given watch region handle.

0x80040E2EL

DB_E_MULTIPLESTATEMENTS

The provider does not support multi-statement commands.

0x80040E2FL

DB_E_INTEGRITYVIOLATION

A specified value violated the integrity constraints for a column or table.

0x80040E30L

DB_E_BADTYPENAME

The given type name was unrecognized.

0x80040E31L

DB_E_ABORTLIMITREACHED

Execution aborted because a resource limit has been reached; no results have been returned.

0x80040E32L

DB_E_ROWSETINCOMMAND

Cannot clone a command object whose command tree contains a rowset or rowsets.

0x80040E33L

DB_E_CANTTRANSLATE

Cannot represent the current tree as text.

0x80040E34L

DB_E_DUPLICATEINDEXID

The specified index already exists.

0x80040E35L

DB_E_NOINDEX

The specified index does not exist.

0x80040E36L

DB_E_INDEXINUSE

The specified index was in use.

0x80040E37L

DB_E_NOTABLE

The specified table does not exist.

0x80040E38L

DB_E_CONCURRENCYVIOLATION

The rowset was using optimistic concurrency, and the value of a column has been changed since it was last read.

0x80040E39L

DB_E_BADCOPY

Errors were detected during the copy.

0x80040E3AL

DB_E_BADPRECISION

A specified precision was invalid.

0x80040E3BL

DB_E_BADSCALE

A specified scale was invalid.

0x80040E3CL

DB_E_BADTABLEID

Invalid table ID.

0x80040E3DL

DB_E_BADTYPE

A specified type was invalid.

0x80040E3EL

DB_E_DUPLICATECOLUMNID

A column ID occurred more than once in the specification.

0x80040E3FL

DB_E_DUPLICATETABLEID

The specified table already exists.

0x80040E40L

DB_E_TABLEINUSE

The specified table was in use.

0x80040E41L

DB_E_NOLOCALE

The specified locale ID was not supported.

0x80040E42L

DB_E_BADRECORDNUM

The specified record number is invalid.

0x80040E43L

DB_E_BOOKMARKSKIPPED

Although the bookmark was validly formed, no row could be found to match it.

0x80040E44L

DB_E_BADPROPERTYVALUE

The value of a property was invalid.

0x80040E45L

DB_E_INVALID

The rowset was not chaptered.

0x80040E46L

DB_E_BADACCESSORFLAGS

Invalid accessor.

0x80040E47L

DB_E_BADSTORAGEFLAGS

Invalid storage flags.

0x80040E48L

DB_E_BYREFACCESSORNOTSUPPORTED

By-ref accessors are not supported by this provider.

0x80040E49L

DB_E_NULLACCESSORNOTSUPPORTED

Null accessors are not supported by this provider.

0x80040E4AL

DB_E_NOTPREPARED

The command was not prepared.

0x80040E4BL

DB_E_BADACCESSORTYPE

The specified accessor was not a parameter accessor.

0x80040E4CL

DB_E_WRITEONLYACCESSOR

The given accessor was write-only.

0x80040E4DL

DB_SEC_E_AUTH_FAILED

Authentication failed.

0x80040E4EL

DB_E_CANCELED

The change was canceled during notification; no columns are changed.

0x80040E4FL

DB_E_CHAPTERNOTRELEASED

The rowset was single-chaptered, and the chapter was not released.

0x80040E50L

DB_E_BADSOURCEHANDLE

Invalid source handle.

0x80040E51L

DB_E_PARAMUNAVAILABLE

The provider cannot derive parameter info, and SetParameterInfo has not been called.

0x80040E52L

DB_E_ALREADYINITIALIZED

The data source object is already initialized.

0x80040E53L

DB_E_NOTSUPPORTED

The provider does not support this method.

0x80040E54L

DB_E_MAXPENDCHANGESEXCEEDED

The number of rows with pending changes has exceeded the set limit.

0x80040E55L

DB_E_BADORDINAL

The specified column did not exist.

0x80040E56L

DB_E_PENDINGCHANGES

There are pending changes on a row with a reference count of zero.

0x80040E57L

DB_E_DATAOVERFLOW

A literal value in the command overflowed the range of the type of the associated column.

0x80040E58L

DB_E_BADHRESULT

The supplied HRESULT was invalid.

0x80040E59L

DB_E_BADLOOKUPID

The supplied LookupID was invalid.

0x80040E5AL

DB_E_BADDYNAMICERRORID

The supplied DynamicErrorID was invalid.

0x80040E5BL

DB_E_PENDINGINSERT

Unable to get visible data for a newly-inserted row that has not yet been updated.

0x80040E5CL

DB_E_BADCONVERTFLAG

Invalid conversion flag.

0x80040E5DL

DB_E_BADPARAMETERNAME

The given parameter name was unrecognized.

0x80040E5EL

DB_E_MULTIPLESTORAGE

Multiple storage objects cannot be open simultaneously.

0x80040E5FL

DB_E_CANTFILTER

The requested filter could not be opened.

0x80040E60L

DB_E_CANTORDER

The requested order could not be opened.

0x80040E65L

DB_E_NOCOLUMN

The supplied columnID was invalid.

0x80040E67L

DB_E_COMMANDNOTPERSISTED

The supplied command does not have a DBID.

0x80040E68L

DB_E_DUPLICATEID

The supplied DBID already exists.

0x80040E69L

DB_E_OBJECTCREATIONLIMITREACHED

The maximum number of Sessions supported by the provider has already been created. The consumer must release one or more currently held Sessions before obtaining a new Session Object.

0x80040E72L

DB_E_BADINDEXID

The index ID is invalid.

0x80040E73L

DB_E_BADINITSTRING

The initialization string specified does not conform to specification.

0x80040E74L

DB_E_NOPROVIDERSREGISTERED

The OLE DB root enumerator did not return any providers that matched any of the SOURCES_TYPEs requested.

0x80040E75L

DB_E_MISMATCHEDPROVIDER

The initialization string specifies a provider which does not match the currently active provider.

0x80040E76L

DB_E_BADCOMMANDID

The specified DBID is invalid.

0x80040E6AL

SEC_E_BADTRUSTEEID

Invalid trustee value.

0x80040E6BL

SEC_E_NOTRUSTEEID

The trustee is not for the current data source.

0x80040E6CL

SEC_E_NOMEMBERSHIPSUPPORT

The trustee does not support memberships/collections.

0x80040E6DL

SEC_E_INVALIDOBJECT

The object is invalid or unknown to the provider.

0x80040E6EL

SEC_E_NOOWNER

No owner exists for the object.

0x80040E6FL

SEC_E_INVALIDACCESSENTRYLIST

The access entry list supplied is invalid.

0x80040E70L

SEC_E_INVALIDOWNER

The trustee supplied as owner is invalid or unknown to the provider.

0x80040E71L

SEC_E_INVALIDACCESSENTRY

The permission supplied in the access entry list is invalid.

0x80040E77L

DB_E_BADCONSTRAINTTYPE

The ConstraintType was invalid or not supported by the provider.

0x80040E78L

DB_E_BADCONSTRAINTFORM

The ConstraintType was not DBCONSTRAINTTYPE_FOREIGNKEY, and cForeignKeyColumns was not zero.

0x80040E79L

DB_E_BADDEFERRABILITY

The Deferrability was invalid, or the value was not supported by the provider.

0x80040E80L

DB_E_BADMATCHTYPE

The MatchType was invalid, or the value was not supported by the provider.

0x80040E8AL

DB_E_BADUPDATEDELETERULE

The UpdateRule or DeleteRule was invalid, or the value was not supported by the provider.

0x80040E8BL

DB_E_BADCONSTRAINTID

Constraint ID is invalid.

0x80040E8CL

DB_E_BADCOMMANDFLAGS

The dwFlags was invalid.

0x80040E8DL

DB_E_OBJECTMISMATCH

The rguidColumnType pointed to a GUID that does not match the object type of this column, or this column was not set.

0x80040E91L

DB_E_NOSOURCEOBJECT

There is no source row.

0x80040E92L

DB_E_RESOURCELOCKED

The OLE DB object represented by this URL is locked by one or more other processes.

0x80040E93L

DB_E_NOTCOLLECTION

The client requested an object type that is only valid for a collection.

0x80040E94L

DB_E_READONLY

The caller requested write access to a read-only object.

0x80040E95L

DB_E_ASYNCNOTSUPPORTED

The provider could not connect to the server for this object.

0x80040E96L

DB_E_CANNOTCONNECT

The provider could not connect to the server for this object.

0x80040E97L

DB_E_TIMEOUT

The attempt to bind to the object timed out.

0x80040E98L

DB_E_RESOURCEEXISTS

The provider was unable to create an object at this URL because an object named by this URL already exists.

0x80040E8EL

DB_E_RESOURCEOUTOFSCOPE

The requested URL was out-of-scope.

0x80040E90L

DB_E_DROPRESTRICTED

Column or constraint could not be dropped because it is referenced by a dependent view or constraint.

0x80040E99L

DB_E_DUPLICATECONSTRAINTID

Constraint already exists.

0x80040E9AL

DB_E_OUTOFSPACE

Object cannot be created at this URL because the server is out of physical storage.

0x00040EC0L

DB_S_ROWLIMITEXCEEDED

Fetching requested number of rows would have exceeded total number of active rows supported by the rowset.

0x00040EC1L

DB_S_COLUMNTYPEMISMATCH

One or more column types are incompatible; conversion errors will occur during copying.

0x00040EC2L

DB_S_TYPEINFOOVERRIDDEN

Parameter type information has been overridden by caller.

0x00040EC3L

DB_S_BOOKMARKSKIPPED

Skipped bookmark for deleted or non-member row.

0x00040EC5L

DB_S_NONEXTROWSET

There are no more rowsets.

0x00040EC6L

DB_S_ENDOFROWSET

Reached start or end of rowset or chapter.

0x00040EC7L

DB_S_COMMANDREEXECUTED

The provider re-executed the command.

0x00040EC8L

DB_S_BUFFERFULL

Variable data buffer full.

0x00040EC9L

DB_S_NORESULT

There are no more results.

0x00040ECAL

DB_S_CANTRELEASE

Server cannot release or downgrade a lock until the end of the transaction.

0x00040ECBL

DB_S_GOALCHANGED

Specified weight was not supported or exceeded the supported limit and was set to 0 or the supported limit.

0x00040ECCL

DB_S_UNWANTEDOPERATION

Consumer is uninterested in receiving further notification calls for this reason.

0x00040ECDL

DB_S_DIALECTIGNORED

Input dialect was ignored and text was returned in different dialect.

0x00040ECEL

DB_S_UNWANTEDPHASE

Consumer is uninterested in receiving further notification calls for this phase.

0x00040ECFL

DB_S_UNWANTEDREASON

Consumer is uninterested in receiving further notification calls for this reason.

0x00040ED0L

DB_S_ASYNCHRONOUS

The operation is being processed asynchronously.

0x00040ED1L

DB_S_COLUMNSCHANGED

In order to reposition to the start of the rowset, the provider had to re-execute the query; either the order of the columns changed, or columns were added to or removed from the rowset.

0x00040ED2L

DB_S_ERRORSRETURNED

The method had some errors; errors have been returned in the error array.

0x00040ED3L

DB_S_BADROWHANDLE

Invalid row handle.

0x00040ED4L

DB_S_DELETEDROW

A given HROW referred to a hard-deleted row.

0x00040ED5L

DB_S_TOOMANYCHANGES

The provider was unable to keep track of all the changes; the client must refetch the data associated with the watch region using another method.

0x00040ED6L

DB_S_STOPLIMITREACHED

Execution stopped because a resource limit has been reached; results obtained so far have been returned, but execution cannot be resumed.

0x00040ED8L

DB_S_LOCKUPGRADED

A lock was upgraded from the value specified.

0x00040ED9L

DB_S_PROPERTIESCHANGED

One or more properties were changed as allowed by provider.

0x00040EDAL

DB_S_ERRORSOCCURRED

Errors occurred.

0x00040EDBL

DB_S_PARAMUNAVAILABLE

A specified parameter was invalid.

0x00040EDCL

DB_S_MULTIPLECHANGES

Updating this row caused more than one row to be updated in the data source.

0x00040ED7L

DB_S_NOTSINGLETON

The bind failed because the provider was unable to satisfy all of the bind flags or properties.

0x00040EDDL

DB_S_NOROWSPECIFICCOLUMNS

The row has no row-specific columns.