Avatar of iscivanomar
iscivanomar
Flag for United States of America asked on

Hello, I am trying to connect to the IBM Queue and I set up the connection string but something is still wrong?

I am not sure if the problem is the app.config or it is a C# code.

Thank you.

IBM System iC#

Avatar of undefined
Last Comment
Gary Patterson, CISSP

8/22/2022 - Mon
iscivanomar

ASKER
I am attaching an image of the exception.  
Queue-Error-Connectivity-2.png
iscivanomar

ASKER
I see 2538 is "MQRC_HOS
T_NOT_AVAILABLE"
Gary Patterson, CISSP

Not nearly enough information to diagnose.

- Gary Patterson
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Member_2_276102

This appears to be an attempt to connect to an IBM MQ installation, probably on an AS/400. I'm not clear how the attempt is being made. The connection string isn't shown, so there's no way to know what is actually being tried.

Please show code that causes the error. The error is generic and has far too many potential causes.

The listener might not be started on the remote system. The client connection name might be wrong. The network might not be available. And many of the other possibilities that can cause a connection not to succeed could be happening.

Further, without knowing anything about version/release, things like IC58952: INCORRECT C and .NET CLIENT RC WHEN SCYEXIT CLOSES CHANNEL become reasonable possibilities.

So, as mentioned, "Not nearly enough information".

Tom
ASKER CERTIFIED SOLUTION
iscivanomar

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Gary Patterson, CISSP

Just close the question and request a refund.