共用方式為


Error codes

Error codes returned by the Rights Management Services SDK 2.1 system.

Note

This topic is for software developers that create applications using the RMS SDK. If you're a user who is receiving error codes, refer to the Microsoft Support website.

For error condition processing, always use a call to IpcGetErrorMessageText right after an SDK API call fails, so you get complete information about the nature of the error.

IPCERROR_USER_RIGHTS_NOT_SET

0x80040200

Usage rights on this content are not set correctly. Contact your application support for further investigation.

IPCERROR_AD_ENTRY_NOT_FOUND

0x80040201

No email address exists for the specified user in the Active Directory. Contact your administrator for further investigation.

IPCERROR_APPLICATION_AUTH_ERROR_AUTHENTICODE

0x80040202

This application is not trusted to consume rights managed content. The Authenticode signature for the application is not valid. Contact your administrator for further investigation.

IPCERROR_BROKEN_CERT_CHAIN

0x80040204

A required certificate chain was not trusted.

IPCERROR_CLOCK_ROLL_BACK_DETECTED

0x80040205

This application cannot provide rights management functionality because the system clock has been set to a time that occurs in the past. Make sure that your computer's system clock is set correctly and try again.

IPCERROR_CRYPTO_OPERATION_UNSUPPORTED

0x80040206

This application cannot provide rights management functionality because the cryptographic algorithm requested by the server is not supported by this client. Contact your administrator for further investigation.

IPCERROR_DEBUGGER_DETECTED

0x80040207

The operation could not be completed because a debugger was detected.

IPCERROR_LOCALE_NOT_FOUND

0x80040208

Text for the specified language does not exist in this license.

IPCERROR_ILS_ERROR

0x80040209

An error occurred when trying to contact the Information Rights Management Service for your Microsoft account. Try again later, or contact your administrator for further investigation.

IPCERROR_SERVER_RESPONSE_NOT_VALID

0x8004020A

The data received from the server running AD RMS didn't match the expected format. Contact your administrator for further investigation.

IPCERROR_OS_VERSION_NOT_TRUSTED

0x8004020B

This operating system version is not trusted to perform the specified operation. Contact the content owner for further investigation.

IPCERROR_ISSUANCELICENSE_LENGTH_LIMIT_EXCEEDED

0x8004020C

Too many users have been granted access to this protected content. Reduce the number of users or replace users with user groups, and try again.

IPCERROR_NEEDS_ONLINE

0x8004020D

The RMS Client 2.1 needs network access to complete the operation, but it cannot get network access because the application requested offline mode.

IPCERROR_NEEDS_UI

0x8004020E

The RMS Client 2.1 needs to display a window to complete the operation, but it cannot display a window because the application requested silent mode.

IPCERROR_NOT_BLOCK_ALIGNED

0x8004020F

The data passed to the RMS Client 2.1 was not a multiple of the cipher block size. Contact your application support for further investigation.

IPCERROR_PROPERTY_ALREADY_SET

0x80040210

The application attempted to set a property that has already been set.

IPCERROR_RIGHT_NOT_GRANTED

0x80040211

You have not been granted the rights necessary to complete the specified operation. Contact the content owner for additional rights.

IPCERROR_SAFEMODE_OS_DETECTED

0x80040212

The RMS Client 2.1 cannot be started when the operating system is in safe mode. Try the operation again when the operating system is in normal mode.

IPCERROR_SERVER_ERROR

0x80040214

An error occurred while trying to contact the Active Directory Rights Management Services server. Try again later or contact your administrator.

IPCERROR_MACHINE_NOT_TRUSTED

0x80040215

This computer does not have the rights required to perform the specified operation. Update the rights on this computer or contact your administrator.

IPCERROR_NEEDS_KEY_PARAMETER

0x80040216

The application must provide a key handle to access the requested information. Contact your application support for further investigation.

IPCERROR_LICENSE_INTERVAL_TIME_NOT_SET

0x80040217

License interval time on this content is not set. Contact your application support for further investigation.

IPCERROR_CONTENT_KEY_NOT_SET

0x80040218

Content key on the license used by this content is not set. Contact your application support for further investigation.

IPCERROR_SIA_NOT_INSTALLED

0x80040219

Microsoft Online Services Sign-in Assistant is not installed on this machine. Contact your administrator for further investigation.

IPCERROR_TEMPLATE_NOT_ENABLED_FOR_USER

0x8004021A

Azure Rights Management Service has not granted you rights to modify the usage policy for this content. Contact your administrator for more details.

IPCERROR_FILE_SYSTEM_FILE

0x80041000

The specified file is a Windows system file.

IPCERROR_FILE_IS_NOT_ENCRYPTED

0x80041001

This file is not encrypted by Active Directory Rights Management Services.

IPCERROR_FILE_ENCRYPT_BLOCKED

0x80041002

Encryption of this file format is blocked by your administrators.

IPCERROR_FILE_UPDATELICENSE_BLOCKED

0x80041003

Updating the policy on an already encrypted file is blocked by your administrator.

IPCERROR_FILE_PDFPROTECTOR_FORMAT_NOT_SUPPORTED

0x80041004

The PDF Protector does not support the specified file for native protection.

Requirements

Minimum supported client
Windows Vista with SP2
Minimum supported server
Windows Server 2008
Header
Ipcerror.h (include Msipc.h)