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 » Help:Cannot instantiate a QueueManager from .net

Post new topic  Reply to topic
 Help:Cannot instantiate a QueueManager from .net « View previous topic :: View next topic » 
Author Message
ddm
PostPosted: Wed Nov 19, 2003 4:23 pm    Post subject: Help:Cannot instantiate a QueueManager from .net Reply with quote

Apprentice

Joined: 17 Nov 2003
Posts: 40

I am new in MQ and I am having problems instantiating the MQQueueManager. I have this very simple code:

MQQueueManager mQMgr = new MQQueueManager();

and I am getting a CompCode: 2, Reason: 2059 error.

What do I need to do? I already have a reference to amqmdnet.dll. I am using MQSeries 5.3 on Win2K. My environment variable is also set up.

Thanks!
Darell
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 20, 2003 5:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Is your environment variable correct? What is it set to? Does it match what your server environment is?

Which environment variable are you using? What port is your queue manager listening on? Is your listener running?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Nov 20, 2003 7:55 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

And is your actual queue manager set as the default, allowing a connection attempt that does not explicitly set the QM name? You did not indicate that you were setting the QM name anywhere.
_________________
Peter Potkay
Keep Calm and MQ On
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 » Help:Cannot instantiate a QueueManager 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.