Author |
Message
|
nithya17 |
Posted: Sun May 21, 2006 7:49 am Post subject: MQRC_Q_MGR_NOT_AVAILABLE |
|
|
Newbie
Joined: 21 May 2006 Posts: 3
|
Hi,
I am new to IBM websphere MQ and am developing a VB application that would run on a windows machine having MQ5.3 server installed
The Vb application is developed and is working fine on 3 machines
.But yesterday when i tried to install MQ5.3 server on a new machine and run the application.The qmgr.CONNECT (where qmgr is declared of the type MQQueuemanager) statement is encountered the control goes to exception handling and the error description has the return code 2059 and desc as MQRC_Q_MGR_NOT_AVAILABLE
MQ explorer shows the Qmanager as running.
Connect button when clicked on the API excersier too works fine and allows me to put messages and get messages.
Its just the connect command issued through the VB application thats failing.
Please kindly help |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun May 21, 2006 8:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Are you connecting with client or server bindings ?
if connecting with client bindings make sure the qmgr has the listener running.
Anyway make sure your VB environment has access to all the dlls needed for the connection (client or server)
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
nithya17 |
Posted: Wed May 31, 2006 7:47 pm Post subject: |
|
|
Newbie
Joined: 21 May 2006 Posts: 3
|
i am sorry for getting bk this late
yes i am using the server bindings only...and the dll it needs has been referenced to and is exisiting in the referenced file.
I have unistalled and installed the MQserver too ...still doesnt help
i have run the code in debugger mode too to ensure that the qmanager name is correct...all of it is fine.
Qmanager is definitely running but still the MQConnect command says qmgr not available |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed May 31, 2006 9:24 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi nithya17,
Can you please post the snippet from your code.
Regards. |
|
Back to top |
|
 |
danhoffman |
Posted: Thu Jun 01, 2006 1:04 pm Post subject: |
|
|
Apprentice
Joined: 03 Nov 2005 Posts: 25
|
I believe 2059 can also be an indication of a permissions issue (ie that the user you are using to access the queue manager is not a member of 'mqm', etc.) |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Jun 01, 2006 5:33 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
danhoffman wrote: |
I believe 2059 can also be an indication of a permissions issue (ie that the user you are using to access the queue manager is not a member of 'mqm', etc.) |
Nope. Security issues return a 2035 error. (u don't need to be in mqm to access the QM regardless) _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
danhoffman |
Posted: Thu Jun 01, 2006 6:38 pm Post subject: |
|
|
Apprentice
Joined: 03 Nov 2005 Posts: 25
|
|
Back to top |
|
 |
|