0
votes

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?

1
This is the cmd line I am trying to use : setmqaut -m QM_APPLE -t qmgr -p greg@xyz-think +alladm ..... where I am the administrator on the machine name xyz-thinkGreg

1 Answers

0
votes

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