| Previous | Next |
| MQ_ERROR_MESSAGE_ALREADY_RECEIVED | MQ_ERROR_FORMATNAME_BUFFER_TOO_SMALL |
MQ_ERROR_ILLEGAL_FORMATNAME
MQ_ERROR_ILLEGAL_FORMATNAME means that the format name supplied to Message Queuing is invalid. A format name identifies how MSMQ should reach a queue, and it is distinct from the path name that is commonly translated before an open or management operation.
How to investigate
- Log the complete format name passed to the API, while avoiding disclosure of sensitive queue or host data in public logs.
- If the application begins with a path name, translate it with
MQPathNameToFormatNameinstead of hand-building a different identifier. - Check that the selected format-name kind is supported by the intended access mode and operation.
Microsoft: MQPathNameToFormatName
Looking for a different code? Search another status or error code.