| Previous | Next |
| MQ_ERROR_PUBLIC_KEY_DOES_NOT_EXIST | MQ_ERROR_NO_GC_IN_DOMAIN |
MQ_ERROR_ILLEGAL_MQPRIVATEPROPS
Operational meaning
MQ_ERROR_ILLEGAL_MQPRIVATEPROPS means private-computer property structure is empty or null. MQGetPrivateComputerInformation requires a coherent MQPRIVATEPROPS request.
MSMQ uses arrays whose indexes bind a property identifier, an MQPROPVARIANT value, and optionally a status result. When diagnosing this result, misaligned counts or reordered arrays can make the logged property differ from the one actually rejected.
Validation occurs in layers: identifier recognition, variant type, buffer shape, value range, required companions, and operation eligibility. These layers correspond to different MSMQ HRESULTs and different fixes.
Where the condition occurs
| Subsystem | MSMQ property arrays and their parallel identifier, value, and status elements |
|---|---|
| Relevant condition | the property identifier, VARTYPE, value, operation, and buffer ownership are validated separately |
| Code-specific focus | private-computer property structure is empty or null |
Do not merge it with other property failures: identifier, VARTYPE, value, size, required companions, and operation eligibility are diagnosed by different codes. The code-specific boundary is private-computer property structure is empty or null.
Evidence to preserve
- The first failing property rather than only the aggregate hresult.
- The complete apropid/apropvar/astatus triples in original order.
- The api name and whether the structure was input, output, or both.
Handling and recovery
Initialize cProp and parallel arrays for the exact private-computer properties needed.
Nearby failures
Changing a queue ACL or restarting the service does not correct an invalid identifier, VARTYPE, value, structure, or property combination. Code-specific condition: private-computer property structure is empty or null.
Worked example
References
Looking for a different code? Search another status or error code.