M
mirin
Hi,
I'm trying to connect to a messaging queue manager in a remote server
from a .NET client application. Am successful in connecting to the
same queue manager using IBM.XMS.dll but when I try to connect using
amqmdnet.dll (which I need to do for certain deployment issues), I get
the error message "MQRC_Q_MGR_NOT_AVAILABLE".
Any advice is much appreciated.
C# code snippets:
using System;
using System.Collections;
using IBM.WMQ;
....
try
{
envr = new Hashtable();
envr.Add(MQC.CHANNEL_PROPERTY, strChannelName);
envr.Add(MQC.PORT_PROPERTY, intPort);
envr.Add(MQC.HOST_NAME_PROPERTY, strHostname);
envr.Add(MQC.USER_ID_PROPERTY, strUserid);
envr.Add(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES);
queueManager = new MQQueueManager(strQueueManagerName, envr);
}
....
Many Thanks,
mirin
I'm trying to connect to a messaging queue manager in a remote server
from a .NET client application. Am successful in connecting to the
same queue manager using IBM.XMS.dll but when I try to connect using
amqmdnet.dll (which I need to do for certain deployment issues), I get
the error message "MQRC_Q_MGR_NOT_AVAILABLE".
Any advice is much appreciated.
C# code snippets:
using System;
using System.Collections;
using IBM.WMQ;
....
try
{
envr = new Hashtable();
envr.Add(MQC.CHANNEL_PROPERTY, strChannelName);
envr.Add(MQC.PORT_PROPERTY, intPort);
envr.Add(MQC.HOST_NAME_PROPERTY, strHostname);
envr.Add(MQC.USER_ID_PROPERTY, strUserid);
envr.Add(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES);
queueManager = new MQQueueManager(strQueueManagerName, envr);
}
....
Many Thanks,
mirin