RightsManagementFailureCode Enumeration
Specifies error conditions that can occur when performing a rights management operation.
Assembly: WindowsBase (in WindowsBase.dll)
| Member name | Description | |
|---|---|---|
| Aborted | Asynchronous operation canceled, or a non-recoverable error has occurred. | |
| ActivationFailed | License activation failed; rights management services are not properly configured. | |
| AdEntryNotFound | The current user was not found in the Active Directory (AD) for certification under Windows authentication. | |
| AlreadyInProgress | The requested operation is already in progress. | |
| AuthenticationFailed | Possible authentication error (HTTP error 401) returned by an Internet request. Or, the current user does not have valid domain credentials in a silent user activation attempt. Or, the certification server in silent user activation is not in the local intranet or trusted sites zone. | |
| BadGetInfoQuery | An invalid constant was passed. | |
| BindAccessPrincipalNotEnabling | The access condition is not matched to the enabling principal that is handed into the bind. | |
| BindAccessUnsatisfied | The current user does not satisfy the conditions defined in the End Use License (EUL). | |
| BindContentNotInEndUseLicense | The specified resource is not contained in any WORK node of the license. | |
| BindIndicatedPrincipalMissing | The enabling principal does not match the issued principal of the End Use License (EUL). | |
| BindIntervalTimeViolated | The defined time period for the protected content has expired; access is no longer permitted. | |
| BindMachineNotFoundInGroupIdentity | The current machine is not defined within the rights managed group identity. | |
| BindNoApplicableRevocationList | The current user does not have rights to access the protected content. | |
| BindNoSatisfiedRightsGroup | The specified rights group is not contained in the End Use License (EUL). | |
| BindPolicyViolation | The current user does not have rights to access the protected content. | |
| BindRevocationListStale | The license requires that a new revocation list must be acquired. | |
| BindRevokedIssuer | The current user does not have rights to access the protected content. | |
| BindRevokedLicense | The current user does not have rights to access the protected content. | |
| BindRevokedModule | Rights management services are not properly configured. | |
| BindRevokedPrincipal | The current user does not have rights to access the protected content. | |
| BindRevokedResource | The current user does not have rights to access the protected content. | |
| BindSpecifiedWorkMissing | The End Use License (EUL) contains no WORK node. | |
| BindValidityTimeViolated | The defined time period for the protected content has expired; access is no longer permitted. | |
| BrokenCertChain | The rights management certificate chain is broken. | |
| ClockRollbackDetected | Clock rollback has been detected. Protected content cannot be accessed. | |
| CryptoOperationUnsupported | A cryptographic operation that was requested is not supported. For example, passing an RMS encrypting object for decrypting purposes. | |
| DebuggerDetected | Cannot open or publish content with restricted permissions because a debugger has been detected. | |
| EmailNotVerified | The user's email address cannot be verified. | |
| EnablingPrincipalFailure | The specified principal cannot be enabled | |
| EncryptionNotPermitted | Encryption is not permitted. | |
| EnvironmentCannotLoad | The SecureEnvironment cannot load. | |
| EnvironmentNotLoaded | The SecureEnvironment cannot load. | |
| ExpiredOfficialIssuanceLicenseTemplate | The authorized time period defined in the issuance license template has expired; access is no longer permitted. | |
| GlobalOptionAlreadySet | The option specified has already been set. | |
| GroupIdentityNotSet | A user name was not specified for the client session | |
| HidCorrupted | The Hardware ID (HID) used in a machine activation attempt is incorrectly formatted. Rights management services are not properly configured. | |
| HidInvalid | The Hardware ID (HID) used in a machine activation attempt is invalid. Rights management services are not properly configured. | |
| IdMismatch | The content ID from the license does not match the content ID the license storage session | |
| IncompatibleObjects | An object type passed is incompatible with this operation. | |
| InfoNotInLicense | When creating a bound license, an issuance license, not an end-use license, was specified. | |
| InfoNotPresent | Some information is missing. | |
| InstallationFailed | An installation operation failed. | |
| InvalidAlgorithmType | The algorithm type specified is invalid. | |
| InvalidClientLicensorCertificate | Rights management services are not properly configured. | |
| InvalidEmail | RMS Server email address verification failed. | |
| InvalidEncodingType | The specified encoding type is invalid. | |
| InvalidHandle | Either the environment or the enabling principal handle is invalid. | |
| InvalidIssuanceLicenseTemplate | The Rights Management Services template contains one or more errors. | |
| InvalidKeyLength | The key length specified in a key/value pair is invalid. | |
| InvalidLicense | The license structure in one of the certificates is invalid. | |
| InvalidLicenseSignature | Rights management signed digital certificate cannot be validated. (The signed certificate may have been tampered.) | |
| InvalidLockboxPath | Rights management services are not properly configured. | |
| InvalidLockboxType | Rights management services are not properly configured. | |
| InvalidNumericalValue | The numeric value specified is invalid. | |
| InvalidRegistryPath | The specified registry path is invalid. | |
| InvalidServerResponse | Rights management services are not properly configured. | |
| InvalidTimeInfo | The time information specified is invalid. | |
| InvalidVersion | The rights management version is incorrect. | |
| KeyTypeUnsupported | The key type specified in a key/value pair is not supported. | |
| LibraryFail | A library operation failed. | |
| LibraryUnsupportedPlugIn | The specified library plug-in is not supported. | |
| LicenseAcquisitionFailed | An End Use License (EUL) could not be acquired from the rights management server. | |
| LicenseBindingToWindowsIdentityFailed | The current user credentials are not valid for acquiring a license. | |
| ManifestPolicyViolation | An operation is in violation of the rights management manifest policy. | |
| MetadataNotSet | The specified metadata could net be set. | |
| NeedsGroupIdentityActivation | The user is not activated, or no Rights Account Certificate (RAC) was submitted and none was found in the license store to match the license associated with this session. | |
| NeedsMachineActivation | The computer must be activated before the user can be activated. | |
| NoAesCryptoProvider | Rights management services are not properly configured. | |
| NoConnect | Rights management cannot connect to the URI specified for the license server. | |
| NoDistributionPointUrlFound | The protected content is corrupted. | |
| NoLicense | A required license is not available. | |
| NoMoreData | No license or certificate exists at the specified index. | |
| NotAChain | Rights managed content is corrupted. | |
| NotSet | The item requested to delete does not exist. | |
| OutdatedModule | Rights management services are not properly configured. | |
| OutOfQuota | The license server's maximum quota of End Use Licenses (EULs) has been reached. | |
| OwnerLicenseNotFound | The document does not contain an Owner License. | |
| QueryReportsNoResults | No instances of the requested attribute exist. | |
| RecordNotFound | The specified license was not found. | |
| RequestDenied | The Rights Management server does not allow temporary certification of the current user. | |
| RevocationInfoNotSet | Certificate or license revocation information has not been set. | |
| RightNotGranted | The current user does not have rights to access the protected content. | |
| RightNotSet | The requested right was not specified when the content was published with rights management. | |
| ServerError | Rights management services are not properly configured. | |
| ServerNotFound | Rights management services are not properly configured. | |
| ServiceGone | Rights management services are not properly configured. | |
| ServiceMoved | Rights management services are not properly configured. | |
| ServiceNotFound | Rights management services are not properly configured. | |
| Success | Operation has competed successfully. | |
| TooManyCertificates | The number of certificates has exceeded the maximum number allowed. | |
| TooManyLoadedEnvironments | Too many SecureEnvironment instance have been created. | |
| UnexpectedException | An unspecified error occurred. Also thrown when an application runs in debug mode. | |
| UseDefault | If a request is made for computer activation or a rights account certificate, receiving UseDefault indicates that the application should pass null into the ActServInfo parameter | |
| ValidityTimeViolation | The defined time period for the protected content has expired; access is no longer permitted. |
The following example shows use of the FailureCode and Message properties to create an error message for the user.
Available since 3.0