We need to know quite a lot about your installation in order to work out what is going wrong here. You haven't supplied it and frankly this is probably the wrong place to reach out for this level of help.
A couple of starting points though ..
According to IBM documentation in the
IBM Knowledge Center[
^]
Quote:
An MQCONN call was issued from a client to connect to a queue manager but the attempt to allocate a conversation to the remote system failed. Common causes of this reason code are:
- The listener has not been started on the remote system.
- The connection name in the client channel definition is incorrect.
- The network is currently unavailable.
- A firewall blocking the port, or protocol-specific traffic.
- The security call initializing the IBM® MQ client is blocked by a security exit on the SVRCONN channel at the server.
They also suggest that you
Quote:
Examine the client error log for messages explaining the cause of the problem.
For the 2059 error they also suggest
Quote:
Ensure that the queue manager has been started. If the connection is from a client application, check the channel definitions, channel status, and error logs.
So your first step is to examine the error logs (or start tracing if you do not already have it switched on).
Make sure you have worked through all the steps in
Writing and deploying IBM MQ.NET programs[
^] - there is also a section on Troubleshooting connections in there