| Previous | Next |
| ERROR_INVALID_PACKAGE_SID_LENGTH | ERROR_INVALID_LIBRARY |
ERROR_INVALID_MEDIA
The identifier is not a usable RSM media object
RSM distinguishes physical media, logical media and individual sides or partitions, and each object has its own GUID and information structure. This status commonly means that an API received the wrong class of identifier, a stale GUID from an earlier inventory, or an identifier whose database object was deleted. It is not evidence that the cartridge bytes are damaged; validation failed before the requested media operation could use the object.
Re-enumerate the appropriate object class instead of reusing a cached identifier. For mounting, confirm whether the API expects a logical-media or side identifier rather than a physical-media identifier. Also compare the object location and operational state with a fresh inventory, because replacing or reclassifying media can invalidate assumptions held by management software.
What to inspect
- Log the API name and the exact object type from which the GUID was obtained.
- Call GetNtmsObjectInformation with the expected RSM object type.
- Refresh media enumeration after inventory, import, deletion or database restore.
References
- Microsoft: RSM object types, GUIDs and operational state
- Microsoft: physical media identification and sharing
- Microsoft: mounting logical media into drives
Looking for a different code? Search another status or error code.
