| Previous | Next |
| MQ_ERROR_CANNOT_IMPERSONATE_CLIENT | MQ_ERROR_PRIVILEGE_NOT_HELD |
MQ_ERROR_ACCESS_DENIED
MQ_ERROR_ACCESS_DENIED means that the caller lacks the required Message Queuing access rights for the queue or computer operation. For queue opens, send access can be checked later when a message is sent, while receive or peek access can cause MQOpenQueue itself to fail.
How to investigate
- Identify the exact operation and access mode: send, receive, peek, create, delete, or security management.
- Inspect the queue security descriptor and the effective rights of the service account or interactive caller.
- After changing permissions, retest with the same account and queue identifier rather than assuming administrator access proves the application path works.
Looking for a different code? Search another status or error code.