2018 is HCONN error - this means the connection handle (returned by MQCONN) is not valid.
If your application is multi-threaded, you must remember that the connection handle is only valid on the thread that performed the connection. You cannot have one thread perform a connect and then another thread use that connection. Regards John Scott Senior Middleware Technical Specialist Argos Ltd -----Original Message----- From: vemulapati narasimha reddy [mailto:[EMAIL PROTECTED]] Sent: 15 November 2002 20:23 To: [EMAIL PROTECTED] Subject: Reason code 2018 for C++ wrapper Hi All! I am writing a c++ wrapper for a ASP page to connect to a remote queue manager. The connect is successful means, MQCONNET and MQOPEN are going fine.. But MQOPEN is returning a reason code 2018. The software is Windows 200, MQ 5.2 Server on machine and windows 200o with IIS server and MQClient on one machine.. So I am wondering what else I can look at to try and solve this error. There is only one version of mq on the box so I don't see how I could be getting the wrong mq libraries or copies. This wrapper is working fine in VB.. Why it's giving problem with ASP pages only..?? I could't find any documents expect the message.pdf file what all can affect what is in HCONN? Any other ideas of what to look at would be great.. Thanks /Reddy. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive ********************************************************************** Click here to visit the Argos home page http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and confidential, and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you are not the intended addressee, any disclosure, reproduction, distribution, dissemination or use of this communication is not authorised. If you have received this message in error, please advise the sender by using your reply facility in youe e-mail software. All messages sent and received by Argos Ltd are monitored for virus, high risk file extensions, and inappropriate content. As a result users should be aware that mail maybe accessed. ********************************************************************** Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive