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 » IBM MQ API Support » MQRC_Q_MGR_NAME_ERROR When I connect from .Net

Post new topic  Reply to topic
 MQRC_Q_MGR_NAME_ERROR When I connect from .Net « View previous topic :: View next topic » 
Author Message
wynnhtun
PostPosted: Wed May 19, 2010 2:36 am    Post subject: MQRC_Q_MGR_NAME_ERROR When I connect from .Net Reply with quote

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");

Thanks a lot.
Regards
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 19, 2010 5:17 am    Post subject: Re: MQRC_Q_MGR_NAME_ERROR When I connect from .Net Reply with quote

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.
Back to top
View user's profile Send private message
shashikanth_in
PostPosted: Tue Jun 01, 2010 7:13 pm    Post subject: Re: MQRC_Q_MGR_NAME_ERROR When I connect from .Net Reply with quote

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");

Thanks a lot.
Regards
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 » IBM MQ API Support » MQRC_Q_MGR_NAME_ERROR When I connect from .Net
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.