ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQRC_NOT_AUTHORIZED

Post new topic  Reply to topic
 MQRC_NOT_AUTHORIZED « View previous topic :: View next topic » 
Author Message
Hungster
PostPosted: Wed Apr 10, 2002 8:51 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
StefanSievert
PostPosted: Thu Apr 11, 2002 6:56 am    Post subject: Reply with quote

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
View user's profile Send private message
mrlinux
PostPosted: Mon Apr 15, 2002 3:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
lnm
PostPosted: Wed May 01, 2002 6:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQRC_NOT_AUTHORIZED
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.