Hi,
This code is working fine on NT in an ASP page:
----------------------------------------------------------------------------
Set qm = CreateObject("MQAX200.MQQueueManager")
Set q = CreateObject("MQAX200.MQQueue")
qm.Name = QMgr
on error resume next
qm.Connect
if err.number <> 0 then
response.write "Error connecting to Queue Manager: " & QMgr & "<br>"
response.write "Error Number: " & err.number & "<br>"
response.write "Error Text: " & err.description
response.end
end if
-----------------------------------------------
But when same is tried from Windows 2003 and MQ 5.3 error is generated:
Error Number: 32000
Error Text: MQAX200.MQQueueManager::Connect CompletionCode = 2, ReasonCode = 2059, ReasonName = MQRC_Q_MGR_NOT_AVAILABLE
TIA
This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please advise us immediately and delete it. You are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in this email or attachments. We exclude any liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided in this email or its attachments, unless that information is subsequently confirmed in writing. If this email contains an offer, that should be considered as an invitation to treat.
