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 » MQSeries problem with C#

Post new topic  Reply to topic
 MQSeries problem with C# « View previous topic :: View next topic » 
Author Message
somashekhar
PostPosted: Mon Feb 16, 2004 9:44 pm    Post subject: MQSeries problem with C# Reply with quote

Newbie

Joined: 16 Feb 2004
Posts: 2
Location: India

Hi,
I am trying to connect to MQSeries on the different machine in the same LAN,I have used the sample given by IBM,when i use
mqQMgr = new MQQueueManager( MQueManager, channelName, connectionName );
in this if i give only Quemanager name ,it will work,in this case the MQ is on same machine as client is,but when i tried to give ChannelName as
"Mychannel" and connectionName="114.9.0.15(1414)",the application is throwing the exception with code 2277.when i tried the sample with C++ application it works.Plz if any one can give solution for this,it is great help for me.i am using the IBM.WMQ for my appliaction.

Thanks in advance
With Regards
Somashekhar
Back to top
View user's profile Send private message Send e-mail
JasonE
PostPosted: Tue Feb 17, 2004 1:58 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Hi, Nothing obvious springs to mind, the c# layer doesnt generate a 2277 directly, so the underlying code must be doing it, and that believes the MQCD built is not a client conn or not an MQCD for some reason.

Does the nmqsput sample work in client mode if you make the same change to hardcode the channel name, addr+port? If not, show me the exact changes you made to the sample pgm and I'll take a look.
Back to top
View user's profile Send private message
kman
PostPosted: Wed Feb 18, 2004 2:17 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

This 2277 sounded like http://www.mqseries.net/phpBB2/viewtopic.php?t=13310

Does this has something to do with connecting .net to a WMQ 5.2 ?
Back to top
View user's profile Send private message Yahoo Messenger
JasonE
PostPosted: Wed Feb 18, 2004 2:42 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

If the problem occurs connecting .net on a 5.3 fp5 system .net interface trying to talk client bindings to a 5.2 server, I would be interested to know (and perhaps see a trace). The .net interface should only supply the minimum version of a structure required for the supplied parms, and the MQCD it builds should be valid.
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 » MQSeries problem with C#
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.