COM Error Codes (XACT, SCHED, OLE)

Header: winerror.h

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 https://support.microsoft.com.

SymbolicCodeDescription
XACT_E_ALREADYOTHERSINGLEPHASE0x8004D000Another single phase resource manager has already been enlisted in this transaction.
XACT_E_CANTRETAIN0x8004D001A retaining commit or abort is not supported
XACT_E_COMMITFAILED0x8004D002The transaction failed to commit for an unknown reason. The transaction was aborted.
XACT_E_COMMITPREVENTED0x8004D003Cannot call commit on this transaction object because the calling application did not initiate the transaction.
XACT_E_HEURISTICABORT0x8004D004Instead of committing, the resource heuristically aborted.
XACT_E_HEURISTICCOMMIT0x8004D005Instead of aborting, the resource heuristically committed.
XACT_E_HEURISTICDAMAGE0x8004D006Some of the states of the resource were committed while others were aborted, likely because of heuristic decisions.
XACT_E_HEURISTICDANGER0x8004D007Some of the states of the resource may have been committed while others may have been aborted, likely because of heuristic decisions.
XACT_E_ISOLATIONLEVEL0x8004D008The requested isolation level is not valid or supported.
XACT_E_NOASYNC0x8004D009The transaction manager doesn't support an asynchronous operation for this method.
XACT_E_NOENLIST0x8004D00AUnable to enlist in the transaction.
XACT_E_NOISORETAIN0x8004D00BThe 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_NORESOURCE0x8004D00CThere is no resource presently associated with this enlistment
XACT_E_NOTCURRENT0x8004D00DThe transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.
XACT_E_NOTRANSACTION0x8004D00EThe transaction has already been implicitly or explicitly committed or aborted
XACT_E_NOTSUPPORTED0x8004D00FAn invalid combination of flags was specified
XACT_E_UNKNOWNRMGRID0x8004D010The resource manager id is not associated with this transaction or the transaction manager.
XACT_E_WRONGSTATE0x8004D011This method was called in the wrong state
XACT_E_WRONGUOW0x8004D012The indicated unit of work does not match the unit of work expected by the resource manager.
XACT_E_XTIONEXISTS0x8004D013An enlistment in a transaction already exists.
XACT_E_NOIMPORTOBJECT0x8004D014An import object for the transaction could not be found.
XACT_E_INVALIDCOOKIE0x8004D015The transaction cookie is invalid.
XACT_E_INDOUBT0x8004D016The transaction status is in doubt. A communication failure occurred, or a transaction manager or resource manager has failed
XACT_E_NOTIMEOUT0x8004D017A time-out was specified, but time-outs are not supported.
XACT_E_ALREADYINPROGRESS0x8004D018The requested operation is already in progress for the transaction.
XACT_E_ABORTED0x8004D019The transaction has already been aborted.
XACT_E_LOGFULL0x8004D01AThe Transaction Manager returned a log full error.
XACT_E_TMNOTAVAILABLE0x8004D01BThe Transaction Manager is not available.
XACT_E_CONNECTION_DOWN0x8004D01CA connection with the transaction manager was lost.
XACT_E_CONNECTION_DENIED0x8004D01DA request to establish a connection with the transaction manager was denied.
XACT_E_REENLISTTIMEOUT0x8004D01EResource manager reenlistment to determine transaction status timed out.
XACT_E_TIP_CONNECT_FAILED0x8004D01FThis transaction manager failed to establish a connection with another TIP transaction manager.
XACT_E_TIP_PROTOCOL_ERROR0x8004D020This transaction manager encountered a protocol error with another TIP transaction manager.
XACT_E_TIP_PULL_FAILED0x8004D021This transaction manager could not propagate a transaction from another TIP transaction manager.
XACT_E_DEST_TMNOTAVAILABLE0x8004D022The Transaction Manager on the destination machine is not available.
XACT_E_TIP_DISABLED0x8004D023The Transaction Manager has disabled its support for TIP.
XACT_E_NETWORK_TX_DISABLED0x8004D024The transaction manager has disabled its support for remote/network transactions.
XACT_E_PARTNER_NETWORK_TX_DISABLED0x8004D025The partner transaction manager has disabled its support for remote/network transactions.
XACT_E_XA_TX_DISABLED0x8004D026The transaction manager has disabled its support for XA transactions.
XACT_E_UNABLE_TO_READ_DTC_CONFIG0x8004D027MSDTC was unable to read its configuration information.
XACT_E_UNABLE_TO_LOAD_DTC_PROXY0x8004D028MSDTC was unable to load the dtc proxy dll.
XACT_E_ABORTING0x8004D029The local transaction has aborted.
XACT_E_PUSH_COMM_FAILURE0x8004D02AThe 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_FAILURE0x8004D02BThe 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_DISABLED0x8004D02CThe MSDTC transaction manager has disabled its support for SNA LU 6.2 transactions.
XACT_E_CLERKNOTFOUND0x8004D080XACT_E_CLERKNOTFOUND
XACT_E_CLERKEXISTS0x8004D081XACT_E_CLERKEXISTS
XACT_E_RECOVERYINPROGRESS0x8004D082XACT_E_RECOVERYINPROGRESS
XACT_E_TRANSACTIONCLOSED0x8004D083XACT_E_TRANSACTIONCLOSED
XACT_E_INVALIDLSN0x8004D084XACT_E_INVALIDLSN
XACT_E_REPLAYREQUEST0x8004D085XACT_E_REPLAYREQUEST
XACT_S_ASYNC0x0004D000An asynchronous operation was specified. The operation has begun, but its outcome is not known yet.
XACT_S_DEFECT0x0004D001XACT_S_DEFECT
XACT_S_READONLY0x0004D002The method call succeeded because the transaction was read-only.
XACT_S_SOMENORETAIN0x0004D003The 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_OKINFORM0x0004D004No changes were made during this call, but the sink wants another chance to look if any other sinks make further changes.
XACT_S_MADECHANGESCONTENT0x0004D005The sink is content and wishes the transaction to proceed. Changes were made to one or more resources during this call.
XACT_S_MADECHANGESINFORM0x0004D006The 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_ALLNORETAIN0x0004D007The transaction was successfully aborted. However, the abort was non-retaining.
XACT_S_ABORTING0x0004D008An abort operation was already in progress.
XACT_S_SINGLEPHASE0x0004D009The resource manager has performed a single-phase commit of the transaction.
XACT_S_LOCALLY_OK0x0004D00AThe local transaction has not aborted.
XACT_S_LASTRESOURCEMANAGER0x0004D010The resource manager has requested to be the coordinator (last resource manager) for the transaction.
CONTEXT_E_ABORTED0x8004E002The root transaction wanted to commit, but transaction aborted
CONTEXT_E_ABORTING0x8004E003You made a method call on a COM+ component that has a transaction that has already aborted or in the process of aborting.
CONTEXT_E_NOCONTEXT0x8004E004There is no MTS object context
CONTEXT_E_WOULD_DEADLOCK0x8004E005The component is configured to use synchronization and this method call would cause a deadlock to occur.
CONTEXT_E_SYNCH_TIMEOUT0x8004E006The component is configured to use synchronization and a thread has timed out waiting to enter the context.
CONTEXT_E_OLDREF0x8004E007You made a method call on a COM+ component that has a transaction that has already committed or aborted.
CONTEXT_E_ROLENOTFOUND0x8004E00CThe specified role was not configured for the application
CONTEXT_E_TMNOTAVAILABLE0x8004E00FCOM+ was unable to talk to the Microsoft Distributed Transaction Coordinator
CO_E_ACTIVATIONFAILED0x8004E021An unexpected error occurred during COM+ Activation.
CO_E_ACTIVATIONFAILED_EVENTLOGGED0x8004E022COM+ Activation failed. Check the event log for more information
CO_E_ACTIVATIONFAILED_CATALOGERROR0x8004E023COM+ Activation failed due to a catalog or configuration error.
CO_E_ACTIVATIONFAILED_TIMEOUT0x8004E024COM+ activation failed because the activation could not be completed in the specified amount of time.
CO_E_INITIALIZATIONFAILED0x8004E025COM+ Activation failed because an initialization function failed. Check the event log for more information.
CONTEXT_E_NOJIT0x8004E026The requested operation requires that JIT be in the current context and it is not
CONTEXT_E_NOTRANSACTION0x8004E027The requested operation requires that the current context have a Transaction, and it does not
CO_E_THREADINGMODEL_CHANGED0x8004E028The components threading model has changed after install into a COM+ Application. Please re-install component.
CO_E_NOIISINTRINSICS0x8004E029IIS intrinsics not available. Start your work with IIS.
CO_E_NOCOOKIES0x8004E02AAn attempt to write a cookie failed.
CO_E_DBERROR0x8004E02BAn attempt to use a database generated a database specific error.
CO_E_NOTPOOLED0x8004E02CThe COM+ component you created must use object pooling to work.
CO_E_NOTCONSTRUCTED0x8004E02DThe COM+ component you created must use object construction to work correctly.
CO_E_NOSYNCHRONIZATION0x8004E02EThe COM+ component requires synchronization, and it is not configured for it.
CO_E_ISOLEVELMISMATCH0x8004E02FThe 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_ALLOWED0x8004E030The 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_CALLED0x8004E031The component made a call to EnterTransactionScope, but did not make a corresponding call to ExitTransactionScope before returning.
OLE_S_USEREG0x00040000Use the registry database to provide the requested information
OLE_S_STATIC0x00040001Success, but static
OLE_S_MAC_CLIPFORMAT0x00040002Macintosh clipboard format
DRAGDROP_S_DROP0x00040100Successful drop took place
DRAGDROP_S_CANCEL0x00040101Drag-drop operation canceled
DRAGDROP_S_USEDEFAULTCURSORS0x00040102Use the default cursor
DATA_S_SAMEFORMATETC0x00040130Data has same FORMATETC
VIEW_S_ALREADY_FROZEN0x00040140View is already frozen
CACHE_S_FORMATETC_NOTSUPPORTED0x00040170FORMATETC not supported
CACHE_S_SAMECACHE0x00040171Same cache
CACHE_S_SOMECACHES_NOTUPDATED0x00040172Some cache(s) not updated
OLEOBJ_S_INVALIDVERB0x00040180Invalid verb for OLE object
OLEOBJ_S_CANNOT_DOVERB_NOW0x00040181Verb number is valid but verb cannot be done now
OLEOBJ_S_INVALIDHWND0x00040182Invalid window handle passed
INPLACE_S_TRUNCATED0x000401A0Message is too long; some of it had to be truncated before displaying
CONVERT10_S_NO_PRESENTATION0x000401C0Unable to convert OLESTREAM to IStorage
MK_S_REDUCED_TO_SELF0x000401E2Moniker reduced to itself
MK_S_ME0x000401E4Common prefix is this moniker
MK_S_HIM0x000401E5Common prefix is input moniker
MK_S_US0x000401E6Common prefix is both monikers
MK_S_MONIKERALREADYREGISTERED0x000401E7Moniker is already registered in running object table
SCHED_S_TASK_READY0x00041300The task is ready to run at its next scheduled time.
SCHED_S_TASK_RUNNING0x00041301The task is currently running.
SCHED_S_TASK_DISABLED0x00041302The task will not run at the scheduled times because it has been disabled.
SCHED_S_TASK_HAS_NOT_RUN0x00041303The task has not yet run.
SCHED_S_TASK_NO_MORE_RUNS0x00041304There are no more runs scheduled for this task.
SCHED_S_TASK_NOT_SCHEDULED0x00041305One or more of the properties that are needed to run this task on a schedule have not been set.
SCHED_S_TASK_TERMINATED0x00041306The last run of the task was terminated by the user.
SCHED_S_TASK_NO_VALID_TRIGGERS0x00041307Either the task has no triggers or the existing triggers are disabled or not set.
SCHED_S_EVENT_TRIGGER0x00041308Event triggers don't have set run times.
SCHED_E_TRIGGER_NOT_FOUND0x80041309Trigger not found.
SCHED_E_TASK_NOT_READY0x8004130AOne or more of the properties that are needed to run this task have not been set.
SCHED_E_TASK_NOT_RUNNING0x8004130BThere is no running instance of the task.
SCHED_E_SERVICE_NOT_INSTALLED0x8004130CThe Task Scheduler Service is not installed on this computer.
SCHED_E_CANNOT_OPEN_TASK0x8004130DThe task object could not be opened.
SCHED_E_INVALID_TASK0x8004130EThe object is either an invalid task object or is not a task object.
SCHED_E_ACCOUNT_INFORMATION_NOT_SET0x8004130FNo account information could be found in the Task Scheduler security database for the task indicated.
SCHED_E_ACCOUNT_NAME_NOT_FOUND0x80041310Unable to establish existence of the account specified.
SCHED_E_ACCOUNT_DBASE_CORRUPT0x80041311Corruption was detected in the Task Scheduler security database; the database has been reset.
SCHED_E_NO_SECURITY_SERVICES0x80041312Task Scheduler security services are not available.
SCHED_E_UNKNOWN_OBJECT_VERSION0x80041313The task object version is either unsupported or invalid.
SCHED_E_UNSUPPORTED_ACCOUNT_OPTION0x80041314The task has been configured with an unsupported combination of account settings and run time options.
SCHED_E_SERVICE_NOT_RUNNING0x80041315The Task Scheduler Service is not running.
SCHED_E_UNEXPECTEDNODE0x80041316The task XML contains an unexpected node.
SCHED_E_NAMESPACE0x80041317The task XML contains an element or attribute from an unexpected namespace.
SCHED_E_INVALIDVALUE0x80041318The task XML contains a value which is incorrectly formatted or out of range.
SCHED_E_MISSINGNODE0x80041319The task XML is missing a required element or attribute.
SCHED_E_MALFORMEDXML0x8004131AThe task XML is malformed.
SCHED_S_SOME_TRIGGERS_FAILED0x0004131BThe task is registered, but not all specified triggers will start the task.
SCHED_S_BATCH_LOGON_PROBLEM0x0004131CThe task is registered, but may fail to start. Batch logon privilege needs to be enabled for the task principal.
SCHED_E_TOO_MANY_NODES0x8004131DThe task XML contains too many nodes of the same type.
SCHED_E_PAST_END_BOUNDARY0x8004131EThe task cannot be started after the trigger's end boundary.
SCHED_E_ALREADY_RUNNING0x8004131FAn instance of this task is already running.
SCHED_E_USER_NOT_LOGGED_ON0x80041320The task will not run because the user is not logged on.
SCHED_E_INVALID_TASK_HASH0x80041321The task image is corrupt or has been tampered with.
SCHED_E_SERVICE_NOT_AVAILABLE0x80041322The Task Scheduler service is not available.
SCHED_E_SERVICE_TOO_BUSY0x80041323The Task Scheduler service is too busy to handle your request. Please try again later.
SCHED_E_TASK_ATTEMPTED0x80041324The 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_QUEUED0x00041325The Task Scheduler service has asked the task to run.
SCHED_E_TASK_DISABLED0x80041326The task is disabled.
SCHED_E_TASK_NOT_V1_COMPAT0x80041327The task has properties that are not compatible with previous versions of Windows.
SCHED_E_START_ON_DEMAND0x80041328The task settings do not allow the task to start on demand.
SCHED_E_TASK_NOT_UBPM_COMPAT0x80041329The combination of properties that task is using is not compatible with the scheduling engine.
CO_E_CLASS_CREATE_FAILED0x80080001Attempt to create a class object failed
CO_E_SCM_ERROR0x80080002OLE service could not bind object
CO_E_SCM_RPC_FAILURE0x80080003RPC communication failed with OLE service
CO_E_BAD_PATH0x80080004Bad path to object
CO_E_SERVER_EXEC_FAILURE0x80080005Server execution failed
CO_E_OBJSRV_RPC_FAILURE0x80080006OLE service could not communicate with the object server
MK_E_NO_NORMALIZED0x80080007Moniker path could not be normalized
CO_E_SERVER_STOPPING0x80080008Object server is stopping when OLE service contacts it
MEM_E_INVALID_ROOT0x80080009An invalid root block pointer was specified
MEM_E_INVALID_LINK0x80080010An allocation chain contained an invalid link pointer
MEM_E_INVALID_SIZE0x80080011The requested allocation size was too large
CO_S_NOTALLINTERFACES0x00080012Not all the requested interfaces were available
CO_S_MACHINENAMENOTFOUND0x00080013The specified machine name was not found in the cache.
CO_E_MISSING_DISPLAYNAME0x80080015The activation requires a display name to be present under the CLSID key.
CO_E_RUNAS_VALUE_MUST_BE_AAA0x80080016The activation requires that the RunAs value for the application is Activate As Activator.
CO_E_ELEVATION_DISABLED0x80080017The class is not configured to support Elevated activation.
DISP_E_UNKNOWNINTERFACE0x80020001Unknown interface.
DISP_E_MEMBERNOTFOUND0x80020003Member not found.
DISP_E_PARAMNOTFOUND0x80020004Parameter not found.
DISP_E_TYPEMISMATCH0x80020005Type mismatch.
DISP_E_UNKNOWNNAME0x80020006Unknown name.
DISP_E_NONAMEDARGS0x80020007No named arguments.
DISP_E_BADVARTYPE0x80020008Bad variable type.
DISP_E_EXCEPTION0x80020009Exception occurred.
DISP_E_OVERFLOW0x8002000AOut of present range.
DISP_E_BADINDEX0x8002000BInvalid index.
DISP_E_UNKNOWNLCID0x8002000CUnknown language.
DISP_E_ARRAYISLOCKED0x8002000DMemory is locked.
DISP_E_BADPARAMCOUNT0x8002000EInvalid number of parameters.
DISP_E_PARAMNOTOPTIONAL0x8002000FParameter not optional.
DISP_E_BADCALLEE0x80020010Invalid callee.
DISP_E_NOTACOLLECTION0x80020011Does not support a collection.
DISP_E_DIVBYZERO0x80020012Division by zero.
DISP_E_BUFFERTOOSMALL0x80020013Buffer too small
TYPE_E_BUFFERTOOSMALL0x80028016Buffer too small.
TYPE_E_FIELDNOTFOUND0x80028017Field name not defined in the record.
TYPE_E_INVDATAREAD0x80028018Old format or invalid type library.
TYPE_E_UNSUPFORMAT0x80028019Old format or invalid type library.
TYPE_E_REGISTRYACCESS0x8002801CError accessing the OLE registry.
TYPE_E_LIBNOTREGISTERED0x8002801DLibrary not registered.
TYPE_E_UNDEFINEDTYPE0x80028027Bound to unknown type.
TYPE_E_QUALIFIEDNAMEDISALLOWED0x80028028Qualified name disallowed.
TYPE_E_INVALIDSTATE0x80028029Invalid forward reference, or reference to uncompiled type.
TYPE_E_WRONGTYPEKIND0x8002802AType mismatch.
TYPE_E_ELEMENTNOTFOUND0x8002802BElement not found.
TYPE_E_AMBIGUOUSNAME0x8002802CAmbiguous name.
TYPE_E_NAMECONFLICT0x8002802DName already exists in the library.
TYPE_E_UNKNOWNLCID0x8002802EUnknown LCID.
TYPE_E_DLLFUNCTIONNOTFOUND0x8002802FFunction not defined in specified DLL.
TYPE_E_BADMODULEKIND0x800288BDWrong module kind for the operation.
TYPE_E_SIZETOOBIG0x800288C5Size may not exceed 64K.
TYPE_E_DUPLICATEID0x800288C6Duplicate ID in inheritance hierarchy.
TYPE_E_INVALIDID0x800288CFIncorrect inheritance depth in standard OLE hmember.
TYPE_E_TYPEMISMATCH0x80028CA0Type mismatch.
TYPE_E_OUTOFBOUNDS0x80028CA1Invalid number of arguments.
TYPE_E_IOERROR0x80028CA2I/O Error.
TYPE_E_CANTCREATETMPFILE0x80028CA3Error creating unique tmp file.
TYPE_E_CANTLOADLIBRARY0x80029C4AError loading type library/DLL.
TYPE_E_INCONSISTENTPROPFUNCS0x80029C83Inconsistent property functions.
TYPE_E_CIRCULARTYPE0x80029C84Circular dependency between types/modules.
211 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.