MQRC_NOT_AUTHORIZED Reason Code 2035

ibm-mqmq

I have set up a MQ Server 7.1 on my local machine.

I have set up a Queue Manager : QM_APPLE

I am trying to run the sample .Net Code from the MQ Examples to PUT a message on the Queue : Q1.

When I try to instantiate the MQQueueManager, I get the above error.

I have tried following the Authorization steps in http://www-01.ibm.com/support/docview.wss?uid=swg21166937 but I am still getting the error. Obviously I am not specifying the parameters correctly here. Can anyone help?

Best Answer

alladm is administrative privileges. It doesn't work for API privileges. Try with +allmqi.
But that's generally not advisable. Try to drill down to specific authorization (like put, get, setid, setall) when you start developing a real application. http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/index.jsp?topic=%2Fcom.ibm.mq.ref.adm.doc%2Fq083500_.htm

Related Topic