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 » IBM.WMQ.MQException: CompCode: 2, Reason: 2059

Post new topic  Reply to topic
 IBM.WMQ.MQException: CompCode: 2, Reason: 2059 « View previous topic :: View next topic » 
Author Message
malai
PostPosted: Mon Dec 08, 2003 2:17 am    Post subject: IBM.WMQ.MQException: CompCode: 2, Reason: 2059 Reply with quote

Newbie

Joined: 04 Dec 2003
Posts: 8

I have MQ Client and Client application(ASP.NET) in Machine A and MQ Server in Machine B.
I need to send messages to Server from ASP.Net application.

i have done the folllowing steps:
I have created the Que Manager ,Queue and Channel in the Server Machine B.
Also i have created the Client Connection Chennel in the Client Machine B
by using the command
SET MQSERVER=CHANNEL1/TCP/server-address

When i try to create an instance by using
public MQQueueManager(String queueMamagerName, String channel, String connName)
what is ConnName??????
i havent given anything as ConnName in Server Connection Channel definition...

Also i am getting the error
IBM.WMQ.MQException: CompCode: 2, Reason: 2059

Thanks in advance...
Back to top
View user's profile Send private message
JasonE
PostPosted: Mon Dec 08, 2003 4:23 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Take a look at the nmqsput sample (samples\cs) as it supports running it in client bingings, eg.
nmqsput QL QM SYSTEM.DEF.SVRCONN/tcp/myipaddr(1414)

but basically

new MQQueueManager( Qmgrname, channelName, connectionName );
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 » IBM.WMQ.MQException: CompCode: 2, Reason: 2059
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.