|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSeries problem with C# |
« View previous topic :: View next topic » |
Author |
Message
|
somashekhar |
Posted: Mon Feb 16, 2004 9:44 pm Post subject: MQSeries problem with C# |
|
|
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 |
|
 |
JasonE |
Posted: Tue Feb 17, 2004 1:58 am Post subject: |
|
|
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 |
|
 |
kman |
Posted: Wed Feb 18, 2004 2:17 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2003 Posts: 309 Location: Kuala Lumpur, Malaysia
|
|
Back to top |
|
 |
JasonE |
Posted: Wed Feb 18, 2004 2:42 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|