COM Error Codes (STG, RPC)
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.
Constant/value | Description |
---|---|
|
Unable to perform requested operation. |
|
could not be found. |
|
The path %1 could not be found. |
|
There are insufficient resources to open another file. |
|
Access Denied. |
|
Attempted an operation on an invalid object. |
|
There is insufficient memory available to complete operation. |
|
Invalid pointer error. |
|
There are no more entries to return. |
|
Disk is write-protected. |
|
An error occurred during a seek operation. |
|
A disk error occurred during a write operation. |
|
A disk error occurred during a read operation. |
|
A share violation has occurred. |
|
A lock violation has occurred. |
|
already exists. |
|
Invalid parameter error. |
|
There is insufficient disk space to complete operation. |
|
Illegal write of non-simple property to simple property set. |
|
An API call exited abnormally. |
|
The file %1 is not a valid compound file. |
|
The name %1 is not valid. |
|
An unexpected error occurred. |
|
That function is not implemented. |
|
Invalid flag error. |
|
Attempted to use an object that is busy. |
|
The storage has been changed since the last commit. |
|
Attempted to use an object that has ceased to exist. |
|
Can't save. |
|
The compound file %1 was produced with an incompatible version of storage. |
|
The compound file %1 was produced with a newer version of storage. |
|
Share.exe or equivalent is required for operation. |
|
Illegal operation called on non-file based storage. |
|
Illegal operation called on object with extant marshallings. |
|
The docfile has been corrupted. |
|
OLE32.DLL has been loaded at the wrong address. |
|
The compound file is too large for the current implementation |
|
The compound file was not created with the STGM_SIMPLE flag |
|
The file download was aborted abnormally. The file is incomplete. |
|
The file download has been terminated. |
|
The underlying file was converted to compound file format. |
|
The storage operation should block until more data is available. |
|
The storage operation should retry immediately. |
|
The notified event sink will not influence the storage operation. |
|
Multiple opens prevent consolidated. (commit succeeded). |
|
Consolidation of the storage file failed. (commit succeeded). |
|
Consolidation of the storage file is inappropriate. (commit succeeded). |
|
Generic Copy Protection Error. |
|
Copy Protection Error - DVD CSS Authentication failed. |
|
Copy Protection Error - The given sector does not have a valid CSS key. |
|
Copy Protection Error - DVD session key not established. |
|
Copy Protection Error - The read failed because the sector is encrypted. |
|
Copy Protection Error - The current DVD's region does not correspond to the region setting of the drive. |
|
Copy Protection Error - The drive's region setting may be permanent or the number of user resets has been exhausted. |
|
Call was rejected by callee. |
|
Call was canceled by the message filter. |
|
The caller is dispatching an intertask SendMessage call and cannot call out via PostMessage. |
|
The caller is dispatching an asynchronous call and cannot make an outgoing call on behalf of this call. |
|
It is illegal to call out while inside message filter. |
|
The connection terminated or is in a bogus state and cannot be used any more. Other connections are still valid. |
|
The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call may have executed. |
|
The caller (client) disappeared while the callee (server) was processing a call. |
|
The data packet with the marshalled parameter data is incorrect. |
|
The call was not transmitted properly; the message queue was full and was not emptied after yielding. |
|
The client (caller) cannot marshal the parameter data - low memory, etc. |
|
The client (caller) cannot unmarshal the return data - low memory, etc. |
|
The server (callee) cannot marshal the return data - low memory, etc. |
|
The server (callee) cannot unmarshal the parameter data - low memory, etc. |
|
Received data is invalid; could be server or client data. |
|
A particular parameter is invalid and cannot be (un)marshalled. |
|
There is no second outgoing call on same channel in DDE conversation. |
|
The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute. |
|
System call failed. |
|
Could not allocate some required resource (memory, events, ...) |
|
Attempted to make calls on more than one thread in single threaded mode. |
|
The requested interface is not registered on the server object. |
|
RPC could not call the server or could not return the results of calling the server. |
|
The server threw an exception. |
|
Cannot change thread mode after it is set. |
|
The method called does not exist on the server. |
|
The object invoked has disconnected from its clients. |
|
The object invoked chose not to process the call now. Try again later. |
|
The message filter indicated that the application is busy. |
|
The message filter rejected the call. |
|
A call control interfaces was called with invalid data. |
|
An outgoing call cannot be made since the application is dispatching an input-synchronous call. |
|
The application called an interface that was marshalled for a different thread. |
|
CoInitialize has not been called on the current thread. |
|
The version of OLE on the client and server machines does not match. |
|
OLE received a packet with an invalid header. |
|
OLE received a packet with an invalid extension. |
|
The requested object or interface does not exist. |
|
The requested object does not exist. |
|
OLE has sent a request and is waiting for a reply. |
|
OLE is waiting before retrying a request. |
|
Call context cannot be accessed after call completed. |
|
Impersonate on unsecure calls is not supported. |
|
Security must be initialized before any interfaces are marshalled or unmarshalled. It cannot be changed once initialized. |
|
No security packages are installed on this machine or the user is not logged on or there are no compatible security packages between the client and server. |
|
Access is denied. |
|
Remote calls are not allowed for this process. |
|
The marshaled interface data packet (OBJREF) has an invalid or unknown format. |
|
No context is associated with this call. This happens for some custom marshalled calls and on the client side of the call. |
|
This operation returned because the timeout period expired. |
|
There are no synchronize objects to wait on. |
|
Full subject issuer chain SSL principal name expected from the server. |
|
Principal name is not a valid MSSTD name. |
|
Unable to impersonate DCOM client |
|
Unable to obtain server's security context |
|
Unable to open the access token of the current thread |
|
Unable to obtain user info from an access token |
|
The client who called IAccessControl::IsAccessPermitted was not the trustee provided to the method |
|
Unable to obtain the client's security blanket |
|
Unable to set a discretionary ACL into a security descriptor |
|
The system function, AccessCheck, returned false |
|
Either NetAccessDel or NetAccessAdd returned an error code. |
|
One of the trustee strings provided by the user did not conform to the <Domain>\<Name> syntax and it was not the "*" string |
|
One of the security identifiers provided by the user was invalid |
|
Unable to convert a wide character trustee string to a multibyte trustee string |
|
Unable to find a security identifier that corresponds to a trustee string provided by the user |
|
The system function, LookupAccountSID, failed |
|
Unable to find a trustee name that corresponds to a security identifier provided by the user |
|
The system function, LookupAccountName, failed |
|
Unable to set or reset a serialization handle |
|
Unable to obtain the Windows directory |
|
Path too long |
|
Unable to generate a uuid. |
|
Unable to create file |
|
Unable to close a serialization handle or a file handle. |
|
The number of ACEs in an ACL exceeds the system limit. |
|
Not all the DENY_ACCESS ACEs are arranged in front of the GRANT_ACCESS ACEs in the stream. |
|
The version of ACL format in the stream is not supported by this implementation of IAccessControl |
|
Unable to open the access token of the server process |
|
Unable to decode the ACL in the stream provided by the user |
|
The COM IAccessControl object is not initialized |
|
Call Cancellation is disabled |
|
An internal error occurred. |
Requirements
Requirement | Value |
---|---|
Header |
|