|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRC_NOT_AUTHORIZED |
« View previous topic :: View next topic » |
Author |
Message
|
Hungster |
Posted: Wed Apr 10, 2002 8:51 pm Post subject: |
|
|
Newbie
Joined: 09 Apr 2002 Posts: 1 Location: Australia
|
Hi, I using the MQAX200 activeX control(ver MQ5.2.1) with ASP.NET to connect to the Server, with the following code:
MQsession = New MQAX200.MQSessionClass()
MQsession.ExceptionThreshold = 99
QManager = MQsession.AccessQueueManager(QMName)
but it fails on the third line with the errorcode 2035-MQRC_NOT_AUTHORIZED, I did add the IUSR_<ComputerName> to the mqm group, I've even added it to the Administrators group also, but still no luck. I'm running out of ideas
Could anyone please help? Thanks
|
|
Back to top |
|
 |
StefanSievert |
Posted: Thu Apr 11, 2002 6:56 am Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Hi,
I don't no nothing about ASP.NET, but if IUSR_... is the userId the ActiveX control is running with, and you have added it to the MQM group: have you restarted your queue manager after you added the user?
I believe that you have to perform a qmgr restart if you add a user to the base OS security manager. You could also try to issue a REFRESH SECURITY command from a RUNMQSC command prompt, but if I recall another discussion, that only refreshes permissions you have updated using setmqaut.
Good luck,
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
mrlinux |
Posted: Mon Apr 15, 2002 3:53 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
The REFRESH SECURITY command is used to refresh OS related USERID/Group info,
the setmqaut commands take affect immediately.
ie if you add a userid to group mqm you must refresh security
if you setmqaut -m QMGR_NAME -t q -n TEST.QUEUE -p USERID +all this doesnt require a refresh.
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
lnm |
Posted: Wed May 01, 2002 6:24 am Post subject: |
|
|
Apprentice
Joined: 12 Mar 2002 Posts: 43 Location: Florida
|
I found if you add someone to the group, the qmanager has to be restarted to recognize it. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|