Posted: Wed May 19, 2010 2:36 am Post subject: MQRC_Q_MGR_NAME_ERROR When I connect from .Net
Newbie
Joined: 19 May 2010 Posts: 3
Hi,
I am not sure if missed out anything here. The MQ Server is running on AIX. I am trying to connect to MQ server from .Net application and when I try to initialize MQQueueManager I receive MQRC_Q_MGR_NAME_ERROR exception.
MQEnvironment.Hostname = "MQ Server IP Address";
MQEnvironment.Port = 1414;
MQEnvironment.Channel = "Channel Name Which I see from MQ Explorer";
_QMgr = new MQQueueManager("Queue Manager name which I see from MQ Explorer");
Posted: Wed May 19, 2010 5:17 am Post subject: Re: MQRC_Q_MGR_NAME_ERROR When I connect from .Net
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
wynnhtun wrote:
_QMgr = new MQQueueManager("Queue Manager name which I see from MQ Explorer");
Well the software doesn't think it's that name. Make sure your code isn't folding it into the wrong case, that 1414 is indeed the port the queue manager is using & your client is installed & configured correctly.
One possible quick test is to see if amqsputc works with those values. _________________ Honesty is the best policy.
Insanity is the best defence.
Posted: Tue Jun 01, 2010 7:13 pm Post subject: Re: MQRC_Q_MGR_NAME_ERROR When I connect from .Net
Centurion
Joined: 26 Feb 2009 Posts: 123
What is the version of MQ you are using? Both QMgr and the client.
wynnhtun wrote:
Hi,
I am not sure if missed out anything here. The MQ Server is running on AIX. I am trying to connect to MQ server from .Net application and when I try to initialize MQQueueManager I receive MQRC_Q_MGR_NAME_ERROR exception.
MQEnvironment.Hostname = "MQ Server IP Address";
MQEnvironment.Port = 1414;
MQEnvironment.Channel = "Channel Name Which I see from MQ Explorer";
_QMgr = new MQQueueManager("Queue Manager name which I see from MQ Explorer");
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