What does NTSTATUS 0xC0020006 (RPC_NT_INVALID_STRING_UUID) mean?

 
Previous Next
RPC_NT_INVALID_RPC_PROTSEQ RPC_NT_INVALID_ENDPOINT_FORMAT

RPC_NT_INVALID_STRING_UUID

RPC_NT_INVALID_STRING_UUID is an NTSTATUS value used by the Windows RPC runtime. RPC uses UUID values to identify objects, interfaces and types. This status means a field expected to contain a UUID in string form could not be interpreted as a valid UUID. It is a representation error, not a statement that a valid UUID was looked up and found missing.

The important distinction is with RPC_NT_OBJECT_NOT_FOUND: an object-not-found result presumes a usable object UUID that has no matching registration, while RPC_NT_INVALID_STRING_UUID means the UUID text never reached that lookup stage.

The UUID text is not a valid RPC UUID representation

  • Record the UUID string before conversion and compare it with the interface or object UUID compiled into the client and server IDL artifacts.
  • Keep object UUID, interface UUID and manager-type UUID separate in diagnostics; they identify different RPC concepts.
  • Use UUID conversion APIs or generated constants rather than manually editing textual UUIDs.

References


Looking for a different code? Search another status or error code.