| Previous | Next |
| MQ_ERROR_NO_DS | MQ_ERROR_ILLEGAL_PROPERTY_VALUE |
MQ_ERROR_ILLEGAL_QUEUE_PATHNAME
MQ_ERROR_ILLEGAL_QUEUE_PATHNAME means that the Message Queuing path name supplied to the operation is invalid. The failure concerns a path name such as the value of PROPID_Q_PATHNAME, not necessarily a format name used by other APIs.
How to investigate
- Validate the path-name syntax and ensure that it names the correct kind of queue for the operation.
- For queue creation, remember that public queues may name a local or remote computer, while private queues can be created only locally.
- If the application already has a path name, use
MQPathNameToFormatNameto translate it rather than constructing an unrelated format name manually.
Looking for a different code? Search another status or error code.