Error Codes (Windows Media Format 11 SDK)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Microsoft has defined the following error and success codes for use in the Windows Media Format SDK. These codes are a subset of a larger collection that can be viewed in the header files asferr.h (ASF codes) and nserror.h (other codes) that are included in the Windows Media Format SDK. Additional common error codes can be viewed in Winerror.h.

ASF Error Codes

The following table contains ASF-specific error values in alphabetical order.

Error code Hexadecimal value Description
ASF_E_ALREADYINITIALIZED 0xC00D07F7L This object has already been initialized; the setting cannot be changed.
ASF_E_BADDATADESCRIPTOR 0xC00D0802L One or more data descriptors are not properly set.
ASF_E_BADDATAUNIT 0xC00D080DL The given data unit is corrupted, badly formatted, or otherwise not valid.
ASF_E_BADINDEXINTERVAL 0xC00D0803L The index has an invalid time interval (probably zero).
ASF_E_BADLANGUAGEID 0xC00D07D2L The language ID was not found.
ASF_E_BADMEDIATYPE 0xC00D0807L The specified media type does not work with this component.
ASF_E_BUFFEROVERRUN 0xC00D07D0L An attempt was made to seek or position past the end of a buffer.
ASF_E_BUFFERTOOSMALL 0xC00D07D1L The supplied input or output buffer was too small.
ASF_E_EXCEEDEDMAXIMUMOBJECTSIZE 0xC00D080CL The object has exceeded its maximum size.
ASF_E_HEADERSIZE 0xC00D080EL The ASF header has exceeded the specified maximum size.
ASF_E_INDEXBLOCKUNLOADED 0xC00D080AL The index entries for the specified index block have been unloaded from memory and are not available.
ASF_E_INVALIDFLAGS 0xC00D0801L The flags for this object or set of objects have not been properly set.
ASF_E_INVALIDHEADER 0xC00D07E2L The ASF file header does not contain enough information.
ASF_E_INVALIDINDEX 0xC00D0805L The given index value is not valid.
ASF_E_INVALIDINIT 0xC00D07F8L This object has not been initialized properly; that operation cannot be performed.
ASF_E_INVALIDSTATE 0xC00D07F5L The request is not valid in the object's current state.
ASF_E_INVALIDTIME 0xC00D0804L The given time value is not valid.
ASF_E_NOCLOCKOBJECT 0xC00D07E6L The object does not have a valid clock object.
ASF_E_NODATAOBJECT 0xC00D07FAL The ASF Data object could not be found.
ASF_E_NOFILEPROPS 0xC00D07FDL The File Properties object could not be found.
ASF_E_NOHEADEROBJECT 0xC00D07F9L The ASF Header object could not be found.
ASF_E_NOINDEXOBJECT 0xC00D07FBL The ASF Index object could not be found.
ASF_E_NOLIBRARY 0xC00D07F6L This object does not have a valid library pointer; it was not properly created or it has been shut down.
ASF_E_NOPAYLOADLENGTH 0xC00D07DBL The multiple payload packet is missing the payload length.
ASF_E_NOSTREAMPROPS 0xC00D07FCL A Stream Properties object with the correct stream number could not be found.
ASF_E_NOTENOUGHBANDWIDTH 0xC00D080BL The specified bandwidth is not large enough.
ASF_E_NOTENOUGHDESCRIPTORS 0xC00D0809L The specified data unit requires a larger number of descriptors before it can be fully parsed.
ASF_E_NOTFOUND 0xC00D07F0L The object was not found.
ASF_E_OBJECTTOOBIG 0xC00D07F3L The object is too large to be processed in the requested manner.
ASF_E_OPAQUEPACKET 0xC00D07EDL An attempt was made to restore or access an opaque packet.
ASF_E_OVERFLOW 0xC00D07EFL An attempt was made to store a value which was larger than the destination's maximum value.
ASF_E_PACKETCONTENTTOOLARGE 0xC00D07DEL The packet content is too large.
ASF_E_STREAMNUMBERINUSE 0xC00D0806L The specified stream number is already in use.
ASF_E_TOOMANYPAYLOADS 0xC00D07DCL The packet contains too many payloads.
ASF_E_UNEXPECTEDVALUE 0xC00D07F4L A value was not set as expected.
ASF_E_UNKNOWNCLOCKTYPE 0xC00D07EBL An unknown clock type was specified for the stream clock type.
ASF_E_UNKNOWNPACKETSIZE 0xC00D07E0L Expecting a fixed packet size but minimum and maximum are not equal.
ASF_E_WRITEFAILED 0xC00D0808L The object could not be written as specified.
ASF_E_WRONGVERSION 0xC00D07EEL The wrong ASF version is being used.

 

DRM-Related Error and Success Codes

Error code Hexadecimal value Description
NS_E_DRM_INVALID_APPLICATION 0xC00D2711L A problem has occurred in the Digital Rights Management component. Contact product support for this application.
NS_E_DRM_LICENSE_STORE_ERROR 0xC00D2712L License storage is not working. Contact Microsoft product support.
NS_E_DRM_SECURE_STORE_ERROR 0xC00D2713L Secure storage is not working. Contact Microsoft product support.
NS_E_DRM_LICENSE_STORE_SAVE_ERROR 0xC00D2714L License acquisition did not work. Acquire a new license or contact the content provider for further assistance.
NS_E_DRM_SECURE_STORE_UNLOCK_ERROR 0xC00D2715L A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_INVALID_CONTENT 0xC00D2716L The media file is corrupted. Contact the content provider to get a new file.
NS_E_DRM_UNABLE_TO_OPEN_LICENSE 0xC00D2717L The license is corrupted. Acquire a new license.
NS_E_DRM_INVALID_LICENSE 0xC00D2718L The license is corrupted or invalid. Acquire a new license.
NS_E_DRM_INVALID_MACHINE 0xC00D2719L Licenses cannot be copied from one computer to another. Use License Management to transfer licenses, or get a new license for the media file.
NS_E_DRM_ENUM_LICENSE_FAILED 0xC00D271BL License storage is not working. Contact Microsoft product support.
NS_E_DRM_INVALID_LICENSE_REQUEST 0xC00D271CL The media file is corrupted. Contact the content provider to get a new file.
NS_E_DRM_UNABLE_TO_INITIALIZE 0xC00D271DL A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_ACQUIRE_LICENSE 0xC00D271EL The license could not be acquired. Try again later.
NS_E_DRM_INVALID_LICENSE_ACQUIRED 0xC00D271FL License acquisition did not work. Acquire a new license or contact the content provider for further assistance.
NS_E_DRM_NO_RIGHTS 0xC00D2720L The requested operation cannot be performed on this file.
NS_E_DRM_KEY_ERROR 0xC00D2721L A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_ENCRYPT_ERROR 0xC00D2722L A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_DECRYPT_ERROR 0xC00D2723L The media file is corrupted. Contact the content provider to get a new file.
NS_E_DRM_LICENSE_INVALID_XML 0xC00D2725L The license is corrupted. Acquire a new license.
NS_S_DRM_LICENSE_ACQUIRED 0x000D2726L The license was acquired.
NS_S_DRM_INDIVIDUALIZED 0x000D2727L The security upgrade has been completed.
NS_E_DRM_NEEDS_INDIVIDUALIZATION 0xC00D2728L A security upgrade is required to perform the operation on this media file.
NS_E_DRM_ALREADY_INITIALIZED 0xC00D2729L You already have the latest security components. No upgrade is necessary at this time.
NS_E_DRM_ACTION_NOT_QUERIED 0xC00D272AL The application cannot perform this action. Contact product support for this application.
NS_E_DRM_ACQUIRING_LICENSE 0xC00D272BL You cannot begin a new license acquisition process until the current one has been completed.
NS_E_DRM_INDIVIDUALIZING 0xC00D272CL You cannot begin a new security upgrade until the current one has been completed.
NS_E_BACKUP_RESTORE_FAILURE 0xC00D272DL Failure to restore backup.
NS_E_BACKUP_RESTORE_BAD_REQUEST_ID 0xC00D272EL Bad request ID to restore backup.
NS_E_DRM_PARAMETERS_MISMATCHED 0xC00D272FL A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_LICENSE_OBJECT 0xC00D2730L A license cannot be created for this media file. Reinstall the application.
NS_E_DRM_UNABLE_TO_CREATE_INDI_OBJECT 0xC00D2731L A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_ENCRYPT_OBJECT 0xC00D2732L A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_DECRYPT_OBJECT 0xC00D2733L A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_PROPERTIES_OBJECT 0xC00D2734L A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_BACKUP_OBJECT 0xC00D2735L A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_INDIVIDUALIZE_ERROR 0xC00D2736L The security upgrade failed. Try again later.
NS_E_DRM_LICENSE_OPEN_ERROR 0xC00D2737L License storage is not working. Contact Microsoft product support.
NS_E_DRM_LICENSE_CLOSE_ERROR 0xC00D2738L License storage is not working. Contact Microsoft product support.
NS_E_DRM_GET_LICENSE_ERROR 0xC00D2739L License storage is not working. Contact Microsoft product support.
NS_E_DRM_QUERY_ERROR 0xC00D273AL A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_REPORT_ERROR 0xC00D273BL A problem has occurred in the Digital Rights Management component. Contact product support for this application.
NS_E_DRM_GET_LICENSESTRING_ERROR 0xC00D273CL License storage is not working. Contact Microsoft product support.
NS_E_DRM_GET_CONTENTSTRING_ERROR 0xC00D273DL The media file is corrupted. Contact the content provider to get a new file.
NS_E_DRM_MONITOR_ERROR 0xC00D273EL A problem has occurred in the Digital Rights Management component. Try again later.
NS_E_DRM_UNABLE_TO_SET_PARAMETER 0xC00D273F The application has made an invalid call to the Digital Rights Management component. Contact product support for this application.
NS_E_DRM_INVALID_APPDATA 0xC00D2740 A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_INVALID_APPDATA_VERSION 0xC00D2741 A problem has occurred in the Digital Rights Management component. Contact product support for this application.
NS_E_DRM_BACKUP_EXISTS 0xC00D2742 Licenses are already backed up in this location.
NS_E_DRM_BACKUP_CORRUPT 0xC00D2743 One or more backed-up licenses are missing or corrupt.
NS_E_DRM_BACKUPRESTORE_BUSY 0xC00D2744 You cannot begin a new backup process until the current process has been completed.
NS_E_BACKUP_RESTORE_BAD_DATA 0xC00D2745L Bad data sent to restore backup request.
NS_S_DRM_MONITOR_CANCELLED 0x000D2746 Status message: License monitoring has been cancelled.
NS_S_DRM_ACQUIRE_CANCELLED 0x000D2747 Status message: License acquisition has been cancelled.
NS_E_DRM_LICENSE_UNUSABLE 0xC00D2748 The license is invalid. Contact the content provider for further assistance.
NS_E_DRM_INVALID_PROPERTY 0xC00D2749 A required property was not set by the application. Contact product support for this application.
NS_E_DRM_SECURE_STORE_NOT_FOUND 0xC00D274A A problem has occurred in the Digital Rights Management component of this application. Try to acquire a license again.
NS_E_DRM_CACHED_CONTENT_ERROR 0xC00D274B A license cannot be found for this media file. Use License Management to transfer a license for this file from the original computer, or acquire a new license.
NS_E_DRM_INDIVIDUALIZATION_INCOMPLETE 0xC00D274C A problem occurred during the security upgrade. Try again later.
NS_E_DRM_DRIVER_AUTH_FAILURE 0xC00D274D Certified driver components are required to play this media file. Contact Windows Update to see whether updated drivers are available for your hardware.
NS_E_DRM_NEED_UPGRADE_MSSAP 0xC00D274E One or more of the Secure Audio Path components were not found or an entry point in those components was not found.
NS_E_DRM_REOPEN_CONTENT 0xC00D274F Status message: Reopen the file.
NS_E_DRM_DRIVER_DIGIOUT_FAILURE 0xC00D2750 Certain driver functionality is required to play this media file. Contact Windows Update to see whether updated drivers are available for your hardware.
NS_E_DRM_INVALID_SECURESTORE_PASSWORD 0xC00D2751 A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_APPCERT_REVOKED 0xC00D2752 A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_RESTORE_FRAUD 0xC00D2753 You cannot restore your license(s).
NS_E_DRM_HARDWARE_INCONSISTENT 0xC00D2754 The licenses for your media files are corrupted. Contact Microsoft product support.
NS_E_DRM_SDMI_TRIGGER 0xC00D2755 To transfer this media file, you must upgrade the application.
NS_E_DRM_SDMI_NOMORECOPIES 0xC00D2756 You cannot make any more copies of this media file.
NS_E_DRM_UNABLE_TO_CREATE_HEADER_OBJECT 0xC00D2757 A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_KEYS_OBJECT 0xC00D2758 A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_LICENSE_NOTACQUIRED 0xC00D2759 Unable to obtain license.
NS_E_DRM_UNABLE_TO_CREATE_CODING_OBJECT 0xC00D275A A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_STATE_DATA_OBJECT 0xC00D275B A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_BUFFER_TOO_SMALL 0xC00D275C The buffer supplied is not sufficient.
NS_E_DRM_UNSUPPORTED_PROPERTY 0xC00D275D The property requested is not supported.
NS_E_DRM_ERROR_BAD_NET_RESP 0xC00D275E The specified server cannot perform the requested operation.
NS_E_DRM_STORE_NOTALLSTORED 0xC00D275F Some of the licenses could not be stored.
NS_E_DRM_SECURITY_COMPONENT_SIGNATURE_INVALID 0xC00D2760 The Digital Rights Management security upgrade component could not be validated. Contact Microsoft product support.
NS_E_DRM_INVALID_DATA 0xC00D2761 Invalid or corrupt data was encountered.
NS_E_DRM_POLICY_DISABLE_ONLINE 0xC00D2762 The Windows Media Digital Rights Management system cannot perform the requested action because your computer or network administrator has enabled the group policy preventing Windows Media DRM Internet access.
NS_E_DRM_UNABLE_TO_CREATE_AUTHENTICATION_OBJECT 0xC00D2763 A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_NOT_CONFIGURED 0xC00D2764 Not all of the necessary properties for DRM have been set.
NS_E_DRM_DEVICE_ACTIVATION_CANCELED 0xC00D2765 The portable device does not have the security required to copy protected files to it. To obtain the additional security, try to copy the file to your portable device again. When a message appears, click OK.
NS_E_BACKUP_RESTORE_TOO_MANY_RESETS 0xC00D2766 Too many resets occurred during restore operation.
NS_E_DRM_DEBUGGING_NOT_ALLOWED 0xC00D2767 Running this process under a debugger while using DRM content is not allowed.
NS_E_DRM_OPERATION_CANCELED 0xC00D2768 The user canceled the DRM operation.
NS_E_DRM_RESTRICTIONS_NOT_RETRIEVED 0xC00D2769 The license you are using has output restrictions. This license is unusable until these restrictions are queried.
NS_E_DRM_UNABLE_TO_CREATE_PLAYLIST_OBJECT 0xC00D276A A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_PLAYLIST_BURN_OBJECT 0xC00D276B A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_DEVICE_REGISTRATION_OBJECT 0xC00D276C A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_METERING_OBJECT 0xC00D276D A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_S_DRM_BURNABLE_TRACK 0x000D276E The track can be copied and has no playlist burn limit.
NS_S_DRM_BURNABLE_TRACK_WITH_PLAYLIST_RESTRICTION 0x000D276F The track can be copied and has a playlist burn limit.
NS_E_DRM_TRACK_EXCEEDED_PLAYLIST_RESTICTION 0xC00D2770 The specified track has exceeded its specified playlist burn limit in this playlist.
NS_E_DRM_TRACK_EXCEEDED_TRACKBURN_RESTRICTION 0xC00D2771 The specified track has exceeded its track burn limit.
NS_E_DRM_UNABLE_TO_GET_DEVICE_CERT 0xC00D2772 A problem has occurred in obtaining the device's certificate. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_GET_SECURE_CLOCK 0xC00D2773 A problem has occurred in obtaining the device's secure clock. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_SET_SECURE_CLOCK 0xC00D2774 A problem has occurred in setting the device's secure clock. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_GET_SECURE_CLOCK_FROM_SERVER 0xC00D2775 A problem has occurred in obtaining the secure clock from the server. Contact Microsoft product support.
NS_E_DRM_POLICY_METERING_DISABLED 0xC00D2776 This content requires the metering policy to be enabled.
NS_E_DRM_TRANSFER_CHAINED_LICENSES_UNSUPPORTED 0xC00D2777 The transfer of chained licenses is unsupported.
NS_E_DRM_SDK_VERSIONMISMATCH 0xC00D2778 The Digital Rights Management component is not installed properly. Reinstall the player.
NS_E_DRM_LIC_NEEDS_DEVICE_CLOCK_SET 0xC00D2779 The file could not be transferred because the device clock is not set.
NS_E_LICENSE_HEADER_MISSING_URL 0xC00D277A The content header is missing an acquisition URL.
NS_E_DEVICE_NOT_WMDRM_DEVICE 0xC00D277B The current attached device does not support Windows Media DRM.
NS_E_DRM_INVALID_APPCERT 0xC00D277C A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_PROTOCOL_FORCEFUL_TERMINATION_ON_PETITION 0xC00D277D The client application has been forcefully terminated during a DRM petition.
NS_E_DRM_PROTOCOL_FORCEFUL_TERMINATION_ON_CHALLENGE 0xC00D277E The client application has been forcefully terminated during a DRM challenge.
NS_E_DRM_CHECKPOINT_FAILED 0xC00D277F Secure storage protection error. Restore your licenses from a previous backup and try again.
NS_E_DRM_BB_UNABLE_TO_INITIALIZE 0xC00D2780 A problem has occurred in the Digital Rights Management root of trust. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_LOAD_HARDWARE_ID 0xC00D2781 A problem has occurred in retrieving the Digital Rights Management machine identification. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_OPEN_DATA_STORE 0xC00D2782 A problem has occurred in opening the Digital Rights Management data storage file. Contact Microsoft product support.
NS_E_DRM_DATASTORE_CORRUPT 0xC00D2783 The Digital Rights Management data storage is not functioning properly. Contact Microsoft product support.
NS_E_DRM_UNABLE_TO_CREATE_INMEMORYSTORE_OBJECT 0xC00D2784 A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_STUBLIB_REQUIRED 0xC00D2785 A secured library is required to access the requested functionality.
NS_E_DRM_UNABLE_TO_CREATE_CERTIFICATE_OBJECT 0xC00D2786 A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE 0xC00D2787 A problem has occurred in the Digital Rights Management component during license migration. Contact Microsoft product support.
NS_E_DRM_INVALID_MIGRATION_IMAGE 0xC00D2788 A problem has occurred in the Digital Rights Management component during license migration. Contact Microsoft product support.
NS_E_DRM_MIGRATION_TARGET_STATES_CORRUPTED 0xC00D2789 A problem has occurred in the Digital Rights Management component during license migration. Contact Microsoft product support.
NS_E_DRM_MIGRATION_IMPORTER_NOT_AVAILABLE 0xC00D278A A problem has occurred in the Digital Rights Management component during license migration. Contact Microsoft product support.
NS_DRM_E_MIGRATION_UPGRADE_WITH_DIFF_SID 0xC00D278B A problem has occurred in the Digital Rights Management component during license migration. Contact Microsoft product support.
NS_DRM_E_MIGRATION_SOURCE_MACHINE_IN_USE 0xC00D278C A problem has occurred in the Digital Rights Management component during license migration. Contact Microsoft product support.
NS_DRM_E_MIGRATION_TARGET_MACHINE_LESS_THAN_LH 0xC00D278D Licenses are being migrated to a machine running a previous version of the operating system (OS). This operation can only be performed on Windows Vista or a later OS. Contact Microsoft product support.
NS_DRM_E_MIGRATION_IMAGE_ALREADY_EXISTS 0xC00D278E The migration image already exists. Contact Microsoft product support.
NS_E_DRM_HARDWAREID_MISMATCH 0xC00D278F The requested action cannot be performed because a hardware configuration change has been detected by the Windows Media Digital Rights Management (DRM) components on your computer.
NS_E_INVALID_DRMV2CLT_STUBLIB 0xC00D2790 The wrong stub library has been linked to an application or DLL using drmv2clt.dll.
NS_E_DRM_MIGRATION_INVALID_LEGACYV2_DATA 0xC00D2791 The legacy V2 data being imported is invalid.
NS_E_DRM_MIGRATION_LICENSE_ALREADY_EXISTS 0xC00D2792 The license being imported already exists.
NS_E_DRM_MIGRATION_INVALID_LEGACYV2_SST_PASSWORD 0xC00D2793 The password of the legacy V2 SST entry being imported is incorrect.
NS_E_DRM_MIGRATION_NOT_SUPPORTED 0xC00D2794 Migration is not supported by the plug-in.
NS_E_DRM_UNABLE_TO_CREATE_MIGRATION_IMPORTER_OBJECT 0xC00D2795 A migration importer cannot be created for this media file. Reinstall the application.
NS_E_DRM_CHECKPOINT_MISMATCH 0xC00D2796 The requested action cannot be performed because a problem occurred with the Windows Media Digital Rights Management (DRM) components on your computer.
NS_E_DRM_CHECKPOINT_CORRUPT 0xC00D2797 The requested action cannot be performed because a problem occurred with the Windows Media Digital Rights Management (DRM) components on your computer.
NS_E_REG_FLUSH_FAILURE 0xC00D2798 The requested action cannot be performed because a problem occurred with the Windows Media Digital Rights Management (DRM) components on your computer.
NS_E_HDS_KEY_MISMATCH 0xC00D2799 The requested action cannot be performed because a problem occurred with the Windows Media Digital Rights Management (DRM) components on your computer.
NS_E_DRM_MIGRATION_OPERATION_CANCELLED 0xC00D279A Migration was canceled by the user.
NS_E_DRM_MIGRATION_OBJECT_IN_USE 0xC00D279B Migration object is already in use and cannot be called until the current operation completes.
NS_E_DRM_MALFORMED_CONTENT_HEADER 0xC00D279C The content header does not comply with DRM requirements and cannot be used.
NS_E_DRM_LICENSE_EXPIRED 0xC00D27D8 The license for this file has expired and is no longer valid. Contact your content provider for further assistance.
NS_E_DRM_LICENSE_NOTENABLED 0xC00D27D9 The license for this file is not valid yet, but will be at a future date.
NS_E_DRM_LICENSE_APPSECLOW 0xC00D27DA The license for this file requires a higher level of security than the player you are currently using has. Try using a different player or download a newer version of your current player.
NS_E_DRM_STORE_NEEDINDI 0xC00D27DB The license cannot be stored as it requires a security upgrade of the Digital Rights Management component (individualization).
NS_E_DRM_STORE_NOTALLOWED 0xC00D27DC Your machine does not meet the requirements for storing the license.
NS_E_DRM_LICENSE_APP_NOTALLOWED 0xC00D27DD The license for this file requires an upgraded version of your player or a different player.
NS_S_DRM_NEEDS_INDIVIDUALIZATION 0x000D27DE A security upgrade is required to perform the operation on this media file.
NS_E_DRM_LICENSE_CERT_EXPIRED 0xC00D27DF The license server's certificate expired. Make sure your system clock is set correctly. Contact your content provider for further assistance.
NS_E_DRM_LICENSE_SECLOW 0xC00D27E0 he license for this file requires a higher level of security than the player you are currently using has. Try using a different player or download a newer version of your current player.
NS_E_DRM_LICENSE_CONTENT_REVOKED 0xC00D27E1 The content owner for the license you just acquired is no longer supporting their content. Contact the content owner for a newer version of the content.
NS_E_DRM_DEVICE_NOT_REGISTERED 0xC00D27E2 The content owner for the license you just acquired requires your device to register to the current machine.
NS_E_DRM_LICENSE_NOSAP 0xC00D280A The license for this file requires a feature that is not supported in your current player or operating system. You can try with newer version of your current player or contact your content provider for further assistance.
NS_E_DRM_LICENSE_NOSVP 0xC00D280B The license for this file requires a feature that is not supported in your current player or operating system. You can try with newer version of your current player or contact your content provider for further assistance.
NS_E_DRM_LICENSE_NOWDM 0xC00D280C The license for this file requires Windows Driver Model (WDM) audio drivers. Contact your sound card manufacturer for further assistance.
NS_E_DRM_LICENSE_NOTRUSTEDCODEC 0xC00D280D The license for this file requires a higher level of security than the player you are currently using has. Try using a different player a newer version of your current player.
NS_E_DRM_SOURCEID_NOT_SUPPORTED 0xC00D280E The license for this file is not supported by your current player. You can try with a newer version of your current player or contact your content provider for further assistance.
NS_E_DRM_NEEDS_UPGRADE_TEMPFILE 0xC00D283D An updated version of your media player is required to play the selected content.
NS_E_DRM_NEED_UPGRADE_PD 0xC00D283E A new version of the Digital Rights Management component is required. Contact product support for this application to get the latest version.
NS_E_DRM_SIGNATURE_FAILURE 0xC00D283F Failed to either create or verify the content header.
NS_E_DRM_LICENSE_SERVER_INFO_MISSING 0xC00D2840 Could not read the necessary information from the system registry.
NS_E_DRM_BUSY 0xC00D2841 The DRM subsystem is currently locked by another application or user.
NS_E_DRM_PD_TOO_MANY_DEVICES 0xC00D2842 There are too many target devices registered on the portable media.
NS_E_DRM_INDIV_FRAUD 0xC00D2843 The security upgrade cannot be completed because the allowed number of daily upgrades has been exceeded. Try again tomorrow.
NS_E_DRM_INDIV_NO_CABS 0xC00D2844 The security upgrade cannot be completed because the server is unable to perform the operation. Try again later.
NS_E_DRM_INDIV_SERVICE_UNAVAILABLE 0xC00D2845 The security upgrade cannot be performed because the server is not available. Try again later.
NS_E_DRM_RESTORE_SERVICE_UNAVAILABLE 0xC00D2846 Windows Media Player cannot restore your licenses because the server is not available.
NS_E_DRM_CLIENT_CODE_EXPIRED 0xC00D2847 Windows Media Player cannot play the protected file. Verify that your computer's date is set correctly. If it is correct, on the Help menu, click Check for player updates to install the latest version of the Player.
NS_E_DRM_NO_UPLINK_LICENSE 0xC00D2848 The chained license cannot be created because the referenced uplink license does not exist.
NS_E_DRM_INVALID_KID 0xC00D2849 The specified key ID is invalid.
NS_E_DRM_LICENSE_INITIALIZATION_ERROR 0xC00D284A License initialization did not work. Contact Microsoft product support.
NS_E_DRM_CHAIN_TOO_LONG 0xC00D284C The uplink license of a chained license cannot itself be a chained license.
NS_E_DRM_UNSUPPORTED_ALGORITHM 0xC00D284D The specified encryption algorithm is unsupported.
NS_E_DRM_LICENSE_DELETION_ERROR 0xC00D284E License deletion did not work. Contact Microsoft product support.
NS_E_DRM_INVALID_CERTIFICATE 0xC00D28A0 The client's certificate is corrupted or the signature cannot be verified.
NS_E_DRM_CERTIFICATE_REVOKED 0xC00D28A1 The client's certificate has been revoked.
NS_E_DRM_LICENSE_UNAVAILABLE 0xC00D28A2 There is no license available for the requested action.
NS_E_DRM_DEVICE_LIMIT_REACHED 0xC00D28A3 The maximum number of devices in use has been reached. Unable to open additional devices.
NS_E_DRM_UNABLE_TO_VERIFY_PROXIMITY 0xC00D28A4 The proximity detection procedure could not confirm that the receiver is near the transmitter in the network.
NS_E_DRM_MUST_REGISTER 0xC00D28A5 The client must be registered before executing the intended operation.
NS_E_DRM_MUST_APPROVE 0xC00D28A6 The client must be approved before executing the intended operation.
NS_E_DRM_MUST_REVALIDATE 0xC00D28A7 The client must be revalidated before executing the intended operation.
NS_E_DRM_INVALID_PROXIMITY_RESPONSE 0xC00D28A8 The response to the proximity detection challenge is invalid.
NS_E_DRM_INVALID_SESSION 0xC00D28A9 The requested session is invalid.
NS_E_DRM_DEVICE_NOT_OPEN 0xC00D28AA The device must be opened before it can be used to receive content.
NS_E_DRM_DEVICE_ALREADY_REGISTERED 0xC00D28AB Device registration failed because the device is already registered.
NS_E_DRM_UNSUPPORTED_PROTOCOL_VERSION 0xC00D28AC Unsupported Windows Media DRM for Network Devices protocol version.
NS_E_DRM_UNSUPPORTED_ACTION 0xC00D28AD The requested action is not supported.
NS_E_DRM_CERTIFICATE_SECURITY_LEVEL_INADEQUATE 0xC00D28AE The certificate does not have an adequate security level for the requested action.
NS_E_DRM_UNABLE_TO_OPEN_PORT 0xC00D28AF Unable to open the specified port for receiving proximity messages.
NS_E_DRM_BAD_REQUEST 0xC00D28B0 The message format is invalid.
NS_E_DRM_INVALID_CRL 0xC00D28B1 The certificate revocation list is invalid or corrupted.
NS_E_DRM_ATTRIBUTE_TOO_LONG 0xC00D28B2 The length of the attribute name or value is too long.
NS_E_DRM_EXPIRED_LICENSEBLOB 0xC00D28B3 The license binary large object (BLOB) BLOB passed is expired.
NS_E_DRM_INVALID_LICENSEBLOB 0xC00D28B4 The license BLOB passed in the request is invalid. Contact Microsoft product support.
NS_E_DRM_INCLUSION_LIST_REQUIRED 0xC00D28B5 The requested operation cannot be performed because the license does not contain an inclusion list.
NS_E_DRM_DRMV2CLT_REVOKED 0xC00D28B6 A problem has occurred in the Digital Rights Management component. Contact Microsoft product support.
NS_E_DRM_RIV_TOO_SMALL 0xC00D28B7 The license that is associated with an existing piece of content requires a more recent certificate revocation list (CRL) version that is not present on the system. Your application can download a more recent CRL using IWMDRMSecurity::PerformSecurityUpdate.

 

Other Error Codes

The following table contains some of the non-ASF error codes that may be encountered while using the Windows Media Format SDK.

Error code Hexadecimal value Description
E_FAIL 0x80000008L Unspecified error.
E_INVALIDARG 0x80000003L Invalid argument sent to a function.
E_NOTIMPL 0x80000001L Function is not yet implemented.
E_OUTOFMEMORY 0x8007000EL Not enough memory to complete the task.
E_POINTER 0x80004003L Invalid pointer.
E_UNEXPECTED 0x8000FFFFL Unspecified error.
NS_E_BUSY 0xC00D0025L The requested resource is in use.
NS_E_FILE_OPEN_FAILED 0xC00D001DL Failed to open a file.
NS_E_FILE_WRITE 0xC00D0018L Error writing to a file.
NS_E_INVALID_DATA 0xC00D002FL Invalid or corrupt data was encountered.
NS_E_INVALID_OUTPUT_FORMAT 0xC00D0BBBL The output media format is invalid.
NS_E_INVALID_REQUEST 0xC00D002BL The request is not valid in the current state.
NS_E_INVALIDPROFILE 0xC00D0BC6L The profile is not valid.
NS_E_NO_MORE_SAMPLES 0xC00D0BCFL There are no more samples in the current range.
NS_E_NOMATCHING_ELEMENT 0xC00D1B5EL No matching element is found in the list.
NS_E_NOT_CONFIGURED 0xC00D0BBCL The object must be fully configured before audio samples can be processed.