Posted: Tue Dec 19, 2006 6:57 am Post subject: MQ_RC_Q_MGR_NOT_Available from MQ Client...........
Novice
Joined: 12 Oct 2006 Posts: 19
Vitor,
This problem got resolved using MQServer, Environment setting variables..
but now I am receiving another error, thats at the time of creating queue manager..
This also at the time of connectiong to Queue Manager..
Error is 2058, ReasonCode = MQRC_Q_MGR_NOT_AVAILABLE
I have specified Channel Name (thats Server Connection Channel, Host Name - Ip Address of the server and port Number........
Previous I set MQServer using
Same Channel as Server Connection for Client Connection -
SET MQSERVER = "Channel Name"/TCP/IPAddress(Port No)
Below is the Code. Where Right hand side have values for these...........
IBM.WMQ.MQEnvironment.Channel = channel
IBM.WMQ.MQEnvironment.Hostname = hostname IBM.WMQ.MQEnvironment.Port = port
'instantiate the queue manager
_MQQueueManager = New IBM.WMQ.MQQueueManager(queueMgr) 'queueMgr
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
Don't double post.
2058 is NOT queue manager unavailable, it's queue manager name error (normally a spelling or error). Which is it?
See my previous response if it's 2059 as I suspect. If it's 2058 correct the name _________________ Honesty is the best policy.
Insanity is the best defence.
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