Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQCONN 2059 Visual Basic

Status
Not open for further replies.

gddub

Programmer
Jul 15, 2002
3
US
I have the sample amqsbcgb.vbp (Browse example) working in development. When I move the sample to a server (IBMMQ Server and Client are installed), the application cannot connect. The return is compcode 2, reason 2059 (Queue manager not available for connection). This makes no sense, I have a PowerBuilder application on the same server and it connects to MQSeries without fail(that's about all I can get with PB and MQAPI). Obviously, I have declared a server connection and the appropriate environmental variables. I am new to Visual Basic, do I need to move more than the vb exe to the server?
 
Addendum - MQCONN 2059 Visual Basic

I am connecting to the server through Terminal Server. When I run the VB application,through TS, it will not connect (Error 2059); logging in as admin doesn't help either. If I am in the server room, directly connected to the server, then the application works. Seems like TS and MQ don't work together. However, my PB application can connect to the queue manager through TS. (The PB app GPF's when MQGet is called so it is not an option, unless someone has knowledge to fix that). I really need remote access to the application. Directly accessing servers is very restricted, and not fun if you aren't at work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top