Site icon EfmSoft

What does HRESULT 0xC00E0091 (MQ_ERROR_Q_ADS_PROPERTY_NOT_SUPPORTED) mean?

 
Previous Next
MQ_ERROR_DS_LOCAL_USER MQ_ERROR_BAD_XML_FORMAT

MQ_ERROR_Q_ADS_PROPERTY_NOT_SUPPORTED

Why the exact HRESULT matters

The important part of MQ_ERROR_Q_ADS_PROPERTY_NOT_SUPPORTED is not only whether the call failed, but which MSMQ subsystem had enough information to return this specific result. Its diagnostic boundary is MQLocateBegin cannot return the ADS path column. PROPID_Q_ADS_PATH is not available as a projected locate-query property.

MQLocateBegin searches public queues registered in the directory; it does not enumerate arbitrary private queues. When diagnosing this result, its restriction, projection, and sort structures are translated into a directory-backed query.

When diagnosing this result, the locator observes a directory snapshot beginning when MQLocateBegin is called., newly replicated objects and properties unsupported as columns or sort keys can produce results that differ from direct queue access.

Subsystem context

SubsystemMQLocateBegin directory queries over public-queue metadata
Decisive boundaryquery restrictions, selected columns, and sort keys must be valid for the AD DS-backed locator
Code-specific focusMQLocateBegin cannot return the ADS path column
Primary recovery ruleUse supported queue identifiers and perform a separate directory lookup if the ADS path is needed.

When diagnosing this result, separate a malformed query structure from an AD DS availability error., repeating the same invalid MQSORTSET or MQRESTRICTION against another domain controller will not repair it. The code-specific boundary is MQLocateBegin cannot return the ADS path column.

Minimum useful telemetry

Log certificate thumbprints, provider names, SIDs, GUIDs, lengths, and hashes where useful, but do not log private keys, symmetric keys, credentials, or confidential message bodies.

Step-by-step diagnosis

  1. Record the unsigned HRESULT, it, and the native API or COM method before a framework replaces it with a generic exception.
  2. Capture MQRESTRICTION, MQCOLUMNS, and MQSORTSET as submitted.
  3. In the path, capture the AD DS mode and domain identity of the caller.
  4. verify the postcondition after the failed call: queue existence, message presence, directory object state, transaction outcome, or generated output may differ by result.
  5. When diagnosing it, apply the code-specific recovery rule: Use supported queue identifiers and perform a separate directory lookup if the ADS path is needed.

Retry and cleanup

Use supported queue identifiers and perform a separate directory lookup if the ADS path is needed.

When diagnosing it, the retry decision must account for side effects that may already exist., query queue, message, directory, or transaction state first whenever the result leaves completion uncertain.

Avoiding a false diagnosis

A directory query shape error is deterministic. switching domain controllers cannot make an unsupported column, relation, or sort key valid. The specific focus for it remains MQLocateBegin cannot return the ADS path column.

Example

A discovery service querying public queues encounters it. It captures the restriction/column/sort structures and validates the query before testing directory availability.

Include a negative test for the nearest misleading diagnosis so monitoring and user guidance do not collapse distinct MSMQ failures into one alert.

References


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

Exit mobile version