Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

COM Error Codes (XACT, SCHED, OLE)

The following table provides a list of error codes used by COM-based APIs.

If you are experiencing difficulty with an application you are installing or running, contact customer support for the software that is displaying the error message. To obtain support for a Microsoft product, go to http://support.microsoft.com.

Constant/valueDescription
XACT_E_ALREADYOTHERSINGLEPHASE
0x8004D000

Another single phase resource manager has already been enlisted in this transaction.

XACT_E_CANTRETAIN
0x8004D001

A retaining commit or abort is not supported

XACT_E_COMMITFAILED
0x8004D002

The transaction failed to commit for an unknown reason. The transaction was aborted.

XACT_E_COMMITPREVENTED
0x8004D003

Cannot call commit on this transaction object because the calling application did not initiate the transaction.

XACT_E_HEURISTICABORT
0x8004D004

Instead of committing, the resource heuristically aborted.

XACT_E_HEURISTICCOMMIT
0x8004D005

Instead of aborting, the resource heuristically committed.

XACT_E_HEURISTICDAMAGE
0x8004D006

Some of the states of the resource were committed while others were aborted, likely because of heuristic decisions.

XACT_E_HEURISTICDANGER
0x8004D007

Some of the states of the resource may have been committed while others may have been aborted, likely because of heuristic decisions.

XACT_E_ISOLATIONLEVEL
0x8004D008

The requested isolation level is not valid or supported.

XACT_E_NOASYNC
0x8004D009

The transaction manager doesn't support an asynchronous operation for this method.

XACT_E_NOENLIST
0x8004D00A

Unable to enlist in the transaction.

XACT_E_NOISORETAIN
0x8004D00B

The requested semantics of retention of isolation across retaining commit and abort boundaries cannot be supported by this transaction implementation, or isoFlags was not equal to zero.

XACT_E_NORESOURCE
0x8004D00C

There is no resource presently associated with this enlistment

XACT_E_NOTCURRENT
0x8004D00D

The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.

XACT_E_NOTRANSACTION
0x8004D00E

The transaction has already been implicitly or explicitly committed or aborted

XACT_E_NOTSUPPORTED
0x8004D00F

An invalid combination of flags was specified

XACT_E_UNKNOWNRMGRID
0x8004D010

The resource manager id is not associated with this transaction or the transaction manager.

XACT_E_WRONGSTATE
0x8004D011

This method was called in the wrong state

XACT_E_WRONGUOW
0x8004D012

The indicated unit of work does not match the unit of work expected by the resource manager.

XACT_E_XTIONEXISTS
0x8004D013

An enlistment in a transaction already exists.

XACT_E_NOIMPORTOBJECT
0x8004D014

An import object for the transaction could not be found.

XACT_E_INVALIDCOOKIE
0x8004D015

The transaction cookie is invalid.

XACT_E_INDOUBT
0x8004D016

The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed

XACT_E_NOTIMEOUT
0x8004D017

A time-out was specified, but time-outs are not supported.

XACT_E_ALREADYINPROGRESS
0x8004D018

The requested operation is already in progress for the transaction.

XACT_E_ABORTED
0x8004D019

The transaction has already been aborted.

XACT_E_LOGFULL
0x8004D01A

The Transaction Manager returned a log full error.

XACT_E_TMNOTAVAILABLE
0x8004D01B

The Transaction Manager is not available.

XACT_E_CONNECTION_DOWN
0x8004D01C

A connection with the transaction manager was lost.

XACT_E_CONNECTION_DENIED
0x8004D01D

A request to establish a connection with the transaction manager was denied.

XACT_E_REENLISTTIMEOUT
0x8004D01E

Resource manager reenlistment to determine transaction status timed out.

XACT_E_TIP_CONNECT_FAILED
0x8004D01F

This transaction manager failed to establish a connection with another TIP transaction manager.

XACT_E_TIP_PROTOCOL_ERROR
0x8004D020

This transaction manager encountered a protocol error with another TIP transaction manager.

XACT_E_TIP_PULL_FAILED
0x8004D021

This transaction manager could not propagate a transaction from another TIP transaction manager.

XACT_E_DEST_TMNOTAVAILABLE
0x8004D022

The Transaction Manager on the destination machine is not available.

XACT_E_TIP_DISABLED
0x8004D023

The Transaction Manager has disabled its support for TIP.

XACT_E_NETWORK_TX_DISABLED
0x8004D024

The transaction manager has disabled its support for remote/network transactions.

XACT_E_PARTNER_NETWORK_TX_DISABLED
0x8004D025

The partner transaction manager has disabled its support for remote/network transactions.

XACT_E_XA_TX_DISABLED
0x8004D026

The transaction manager has disabled its support for XA transactions.

XACT_E_UNABLE_TO_READ_DTC_CONFIG
0x8004D027

MSDTC was unable to read its configuration information.

XACT_E_UNABLE_TO_LOAD_DTC_PROXY
0x8004D028

MSDTC was unable to load the dtc proxy dll.

XACT_E_ABORTING
0x8004D029

The local transaction has aborted.

XACT_E_PUSH_COMM_FAILURE
0x8004D02A

The MSDTC transaction manager was unable to push the transaction to the destination transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn't have an exception for the MSDTC process, the two machines cannot find each other by their NetBIOS names, or the support for network transactions is not enabled for one of the two transaction managers.

XACT_E_PULL_COMM_FAILURE
0x8004D02B

The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn't have an exception for the MSDTC process, the two machines cannot find each other by their NetBIOS names, or the support for network transactions is not enabled for one of the two transaction managers.

XACT_E_LU_TX_DISABLED
0x8004D02C

The MSDTC transaction manager has disabled its support for SNA LU 6.2 transactions.

XACT_E_CLERKNOTFOUND
0x8004D080

XACT_E_CLERKNOTFOUND

XACT_E_CLERKEXISTS
0x8004D081

XACT_E_CLERKEXISTS

XACT_E_RECOVERYINPROGRESS
0x8004D082

XACT_E_RECOVERYINPROGRESS

XACT_E_TRANSACTIONCLOSED
0x8004D083

XACT_E_TRANSACTIONCLOSED

XACT_E_INVALIDLSN
0x8004D084

XACT_E_INVALIDLSN

XACT_E_REPLAYREQUEST
0x8004D085

XACT_E_REPLAYREQUEST

XACT_S_ASYNC
0x0004D000

An asynchronous operation was specified. The operation has begun, but its outcome is not known yet.

XACT_S_DEFECT
0x0004D001

XACT_S_DEFECT

XACT_S_READONLY
0x0004D002

The method call succeeded because the transaction was read-only.

XACT_S_SOMENORETAIN
0x0004D003

The transaction was successfully aborted. However, this is a coordinated transaction, and some number of enlisted resources were aborted outright because they could not support abort-retaining semantics

XACT_S_OKINFORM
0x0004D004

No changes were made during this call, but the sink wants another chance to look if any other sinks make further changes.

XACT_S_MADECHANGESCONTENT
0x0004D005

The sink is content and wishes the transaction to proceed. Changes were made to one or more resources during this call.

XACT_S_MADECHANGESINFORM
0x0004D006

The sink is for the moment and wishes the transaction to proceed, but if other changes are made following this return by other event sinks then this sink wants another chance to look

XACT_S_ALLNORETAIN
0x0004D007

The transaction was successfully aborted. However, the abort was non-retaining.

XACT_S_ABORTING
0x0004D008

An abort operation was already in progress.

XACT_S_SINGLEPHASE
0x0004D009

The resource manager has performed a single-phase commit of the transaction.

XACT_S_LOCALLY_OK
0x0004D00A

The local transaction has not aborted.

XACT_S_LASTRESOURCEMANAGER
0x0004D010

The resource manager has requested to be the coordinator (last resource manager) for the transaction.

CONTEXT_E_ABORTED
0x8004E002

The root transaction wanted to commit, but transaction aborted

CONTEXT_E_ABORTING
0x8004E003

You made a method call on a COM+ component that has a transaction that has already aborted or in the process of aborting.

CONTEXT_E_NOCONTEXT
0x8004E004

There is no MTS object context

CONTEXT_E_WOULD_DEADLOCK
0x8004E005

The component is configured to use synchronization and this method call would cause a deadlock to occur.

CONTEXT_E_SYNCH_TIMEOUT
0x8004E006

The component is configured to use synchronization and a thread has timed out waiting to enter the context.

CONTEXT_E_OLDREF
0x8004E007

You made a method call on a COM+ component that has a transaction that has already committed or aborted.

CONTEXT_E_ROLENOTFOUND
0x8004E00C

The specified role was not configured for the application

CONTEXT_E_TMNOTAVAILABLE
0x8004E00F

COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator

CO_E_ACTIVATIONFAILED
0x8004E021

An unexpected error occurred during COM+ Activation.

CO_E_ACTIVATIONFAILED_EVENTLOGGED
0x8004E022

COM+ Activation failed. Check the event log for more information

CO_E_ACTIVATIONFAILED_CATALOGERROR
0x8004E023

COM+ Activation failed due to a catalog or configuration error.

CO_E_ACTIVATIONFAILED_TIMEOUT
0x8004E024

COM+ activation failed because the activation could not be completed in the specified amount of time.

CO_E_INITIALIZATIONFAILED
0x8004E025

COM+ Activation failed because an initialization function failed. Check the event log for more information.

CONTEXT_E_NOJIT
0x8004E026

The requested operation requires that JIT be in the current context and it is not

CONTEXT_E_NOTRANSACTION
0x8004E027

The requested operation requires that the current context have a Transaction, and it does not

CO_E_THREADINGMODEL_CHANGED
0x8004E028

The components threading model has changed after install into a COM+ Application. Please re-install component.

CO_E_NOIISINTRINSICS
0x8004E029

IIS intrinsics not available. Start your work with IIS.

CO_E_NOCOOKIES
0x8004E02A

An attempt to write a cookie failed.

CO_E_DBERROR
0x8004E02B

An attempt to use a database generated a database specific error.

CO_E_NOTPOOLED
0x8004E02C

The COM+ component you created must use object pooling to work.

CO_E_NOTCONSTRUCTED
0x8004E02D

The COM+ component you created must use object construction to work correctly.

CO_E_NOSYNCHRONIZATION
0x8004E02E

The COM+ component requires synchronization, and it is not configured for it.

CO_E_ISOLEVELMISMATCH
0x8004E02F

The TxIsolation Level property for the COM+ component being created is stronger than the TxIsolationLevel for the "root" component for the transaction. The creation failed.

CO_E_CALL_OUT_OF_TX_SCOPE_NOT_ALLOWED
0x8004E030

The component attempted to make a cross-context call between invocations of EnterTransactionScopeand ExitTransactionScope. This is not allowed. Cross-context calls cannot be made while inside of a transaction scope.

CO_E_EXIT_TRANSACTION_SCOPE_NOT_CALLED
0x8004E031

The component made a call to EnterTransactionScope, but did not make a corresponding call to ExitTransactionScope before returning.

OLE_S_USEREG
0x00040000

Use the registry database to provide the requested information

OLE_S_STATIC
0x00040001

Success, but static

OLE_S_MAC_CLIPFORMAT
0x00040002

Macintosh clipboard format

DRAGDROP_S_DROP
0x00040100

Successful drop took place

DRAGDROP_S_CANCEL
0x00040101

Drag-drop operation canceled

DRAGDROP_S_USEDEFAULTCURSORS
0x00040102

Use the default cursor

DATA_S_SAMEFORMATETC
0x00040130

Data has same FORMATETC

VIEW_S_ALREADY_FROZEN
0x00040140

View is already frozen

CACHE_S_FORMATETC_NOTSUPPORTED
0x00040170

FORMATETC not supported

CACHE_S_SAMECACHE
0x00040171

Same cache

CACHE_S_SOMECACHES_NOTUPDATED
0x00040172

Some cache(s) not updated

OLEOBJ_S_INVALIDVERB
0x00040180

Invalid verb for OLE object

OLEOBJ_S_CANNOT_DOVERB_NOW
0x00040181

Verb number is valid but verb cannot be done now

OLEOBJ_S_INVALIDHWND
0x00040182

Invalid window handle passed

INPLACE_S_TRUNCATED
0x000401A0

Message is too long; some of it had to be truncated before displaying

CONVERT10_S_NO_PRESENTATION
0x000401C0

Unable to convert OLESTREAM to IStorage

MK_S_REDUCED_TO_SELF
0x000401E2

Moniker reduced to itself

MK_S_ME
0x000401E4

Common prefix is this moniker

MK_S_HIM
0x000401E5

Common prefix is input moniker

MK_S_US
0x000401E6

Common prefix is both monikers

MK_S_MONIKERALREADYREGISTERED
0x000401E7

Moniker is already registered in running object table

SCHED_S_TASK_READY
0x00041300

The task is ready to run at its next scheduled time.

SCHED_S_TASK_RUNNING
0x00041301

The task is currently running.

SCHED_S_TASK_DISABLED
0x00041302

The task will not run at the scheduled times because it has been disabled.

SCHED_S_TASK_HAS_NOT_RUN
0x00041303

The task has not yet run.

SCHED_S_TASK_NO_MORE_RUNS
0x00041304

There are no more runs scheduled for this task.

SCHED_S_TASK_NOT_SCHEDULED
0x00041305

One or more of the properties that are needed to run this task on a schedule have not been set.

SCHED_S_TASK_TERMINATED
0x00041306

The last run of the task was terminated by the user.

SCHED_S_TASK_NO_VALID_TRIGGERS
0x00041307

Either the task has no triggers or the existing triggers are disabled or not set.

SCHED_S_EVENT_TRIGGER
0x00041308

Event triggers don't have set run times.

SCHED_E_TRIGGER_NOT_FOUND
0x80041309

Trigger not found.

SCHED_E_TASK_NOT_READY
0x8004130A

One or more of the properties that are needed to run this task have not been set.

SCHED_E_TASK_NOT_RUNNING
0x8004130B

There is no running instance of the task.

SCHED_E_SERVICE_NOT_INSTALLED
0x8004130C

The Task Scheduler Service is not installed on this computer.

SCHED_E_CANNOT_OPEN_TASK
0x8004130D

The task object could not be opened.

SCHED_E_INVALID_TASK
0x8004130E

The object is either an invalid task object or is not a task object.

SCHED_E_ACCOUNT_INFORMATION_NOT_SET
0x8004130F

No account information could be found in the Task Scheduler security database for the task indicated.

SCHED_E_ACCOUNT_NAME_NOT_FOUND
0x80041310

Unable to establish existence of the account specified.

SCHED_E_ACCOUNT_DBASE_CORRUPT
0x80041311

Corruption was detected in the Task Scheduler security database; the database has been reset.

SCHED_E_NO_SECURITY_SERVICES
0x80041312

Task Scheduler security services are not available.

SCHED_E_UNKNOWN_OBJECT_VERSION
0x80041313

The task object version is either unsupported or invalid.

SCHED_E_UNSUPPORTED_ACCOUNT_OPTION
0x80041314

The task has been configured with an unsupported combination of account settings and run time options.

SCHED_E_SERVICE_NOT_RUNNING
0x80041315

The Task Scheduler Service is not running.

SCHED_E_UNEXPECTEDNODE
0x80041316

The task XML contains an unexpected node.

SCHED_E_NAMESPACE
0x80041317

The task XML contains an element or attribute from an unexpected namespace.

SCHED_E_INVALIDVALUE
0x80041318

The task XML contains a value which is incorrectly formatted or out of range.

SCHED_E_MISSINGNODE
0x80041319

The task XML is missing a required element or attribute.

SCHED_E_MALFORMEDXML
0x8004131A

The task XML is malformed.

SCHED_S_SOME_TRIGGERS_FAILED
0x0004131B

The task is registered, but not all specified triggers will start the task.

SCHED_S_BATCH_LOGON_PROBLEM
0x0004131C

The task is registered, but may fail to start. Batch logon privilege needs to be enabled for the task principal.

SCHED_E_TOO_MANY_NODES
0x8004131D

The task XML contains too many nodes of the same type.

SCHED_E_PAST_END_BOUNDARY
0x8004131E

The task cannot be started after the trigger's end boundary.

SCHED_E_ALREADY_RUNNING
0x8004131F

An instance of this task is already running.

SCHED_E_USER_NOT_LOGGED_ON
0x80041320

The task will not run because the user is not logged on.

SCHED_E_INVALID_TASK_HASH
0x80041321

The task image is corrupt or has been tampered with.

SCHED_E_SERVICE_NOT_AVAILABLE
0x80041322

The Task Scheduler service is not available.

SCHED_E_SERVICE_TOO_BUSY
0x80041323

The Task Scheduler service is too busy to handle your request. Please try again later.

SCHED_E_TASK_ATTEMPTED
0x80041324

The Task Scheduler service attempted to run the task, but the task did not run due to one of the constraints in the task definition.

SCHED_S_TASK_QUEUED
0x00041325

The Task Scheduler service has asked the task to run.

SCHED_E_TASK_DISABLED
0x80041326

The task is disabled.

SCHED_E_TASK_NOT_V1_COMPAT
0x80041327

The task has properties that are not compatible with previous versions of Windows.

SCHED_E_START_ON_DEMAND
0x80041328

The task settings do not allow the task to start on demand.

SCHED_E_TASK_NOT_UBPM_COMPAT
0x80041329

The combination of properties that task is using is not compatible with the scheduling engine.

CO_E_CLASS_CREATE_FAILED
0x80080001

Attempt to create a class object failed

CO_E_SCM_ERROR
0x80080002

OLE service could not bind object

CO_E_SCM_RPC_FAILURE
0x80080003

RPC communication failed with OLE service

CO_E_BAD_PATH
0x80080004

Bad path to object

CO_E_SERVER_EXEC_FAILURE
0x80080005

Server execution failed

CO_E_OBJSRV_RPC_FAILURE
0x80080006

OLE service could not communicate with the object server

MK_E_NO_NORMALIZED
0x80080007

Moniker path could not be normalized

CO_E_SERVER_STOPPING
0x80080008

Object server is stopping when OLE service contacts it

MEM_E_INVALID_ROOT
0x80080009

An invalid root block pointer was specified

MEM_E_INVALID_LINK
0x80080010

An allocation chain contained an invalid link pointer

MEM_E_INVALID_SIZE
0x80080011

The requested allocation size was too large

CO_S_NOTALLINTERFACES
0x00080012

Not all the requested interfaces were available

CO_S_MACHINENAMENOTFOUND
0x00080013

The specified machine name was not found in the cache.

CO_E_MISSING_DISPLAYNAME
0x80080015

The activation requires a display name to be present under the CLSID key.

CO_E_RUNAS_VALUE_MUST_BE_AAA
0x80080016

The activation requires that the RunAs value for the application is Activate As Activator.

CO_E_ELEVATION_DISABLED
0x80080017

The class is not configured to support Elevated activation.

DISP_E_UNKNOWNINTERFACE
0x80020001

Unknown interface.

DISP_E_MEMBERNOTFOUND
0x80020003

Member not found.

DISP_E_PARAMNOTFOUND
0x80020004

Parameter not found.

DISP_E_TYPEMISMATCH
0x80020005

Type mismatch.

DISP_E_UNKNOWNNAME
0x80020006

Unknown name.

DISP_E_NONAMEDARGS
0x80020007

No named arguments.

DISP_E_BADVARTYPE
0x80020008

Bad variable type.

DISP_E_EXCEPTION
0x80020009

Exception occurred.

DISP_E_OVERFLOW
0x8002000A

Out of present range.

DISP_E_BADINDEX
0x8002000B

Invalid index.

DISP_E_UNKNOWNLCID
0x8002000C

Unknown language.

DISP_E_ARRAYISLOCKED
0x8002000D

Memory is locked.

DISP_E_BADPARAMCOUNT
0x8002000E

Invalid number of parameters.

DISP_E_PARAMNOTOPTIONAL
0x8002000F

Parameter not optional.

DISP_E_BADCALLEE
0x80020010

Invalid callee.

DISP_E_NOTACOLLECTION
0x80020011

Does not support a collection.

DISP_E_DIVBYZERO
0x80020012

Division by zero.

DISP_E_BUFFERTOOSMALL
0x80020013

Buffer too small

TYPE_E_BUFFERTOOSMALL
0x80028016

Buffer too small.

TYPE_E_FIELDNOTFOUND
0x80028017

Field name not defined in the record.

TYPE_E_INVDATAREAD
0x80028018

Old format or invalid type library.

TYPE_E_UNSUPFORMAT
0x80028019

Old format or invalid type library.

TYPE_E_REGISTRYACCESS
0x8002801C

Error accessing the OLE registry.

TYPE_E_LIBNOTREGISTERED
0x8002801D

Library not registered.

TYPE_E_UNDEFINEDTYPE
0x80028027

Bound to unknown type.

TYPE_E_QUALIFIEDNAMEDISALLOWED
0x80028028

Qualified name disallowed.

TYPE_E_INVALIDSTATE
0x80028029

Invalid forward reference, or reference to uncompiled type.

TYPE_E_WRONGTYPEKIND
0x8002802A

Type mismatch.

TYPE_E_ELEMENTNOTFOUND
0x8002802B

Element not found.

TYPE_E_AMBIGUOUSNAME
0x8002802C

Ambiguous name.

TYPE_E_NAMECONFLICT
0x8002802D

Name already exists in the library.

TYPE_E_UNKNOWNLCID
0x8002802E

Unknown LCID.

TYPE_E_DLLFUNCTIONNOTFOUND
0x8002802F

Function not defined in specified DLL.

TYPE_E_BADMODULEKIND
0x800288BD

Wrong module kind for the operation.

TYPE_E_SIZETOOBIG
0x800288C5

Size may not exceed 64K.

TYPE_E_DUPLICATEID
0x800288C6

Duplicate ID in inheritance hierarchy.

TYPE_E_INVALIDID
0x800288CF

Incorrect inheritance depth in standard OLE hmember.

TYPE_E_TYPEMISMATCH
0x80028CA0

Type mismatch.

TYPE_E_OUTOFBOUNDS
0x80028CA1

Invalid number of arguments.

TYPE_E_IOERROR
0x80028CA2

I/O Error.

TYPE_E_CANTCREATETMPFILE
0x80028CA3

Error creating unique tmp file.

TYPE_E_CANTLOADLIBRARY
0x80029C4A

Error loading type library/DLL.

TYPE_E_INCONSISTENTPROPFUNCS
0x80029C83

Inconsistent property functions.

TYPE_E_CIRCULARTYPE
0x80029C84

Circular dependency between types/modules.

Requirements

Header

Winerror.h

See also

COM Error Codes

 

 

Community Additions

Show:
© 2014 Microsoft