I am using 7x (7.5 mq client amqmdnet.dll) via .net and using `MQPutMessageOptions` and `MQGetMessageOptions`, this code works fine with mq 7.5 ibm client, however per IBM official link,
says 7x mq client will be backward compatible with 6x, when i try to connect, i get this error (am in a windows 7 64-bit OS).
System.TypeInitializationException: The type initializer for 'IBM.WMQ.MQQueueManager' threw an exception. ---> System.TypeInitializationException: The type initializer for 'IBM.WMQ.CommonServices' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
--- End of inner exception stack trace ---
at IBM.WMQ.Nmqi.NmqiEnvironment..ctor(NmqiPropertyHandler nmqiPropertyHandler)
at IBM.WMQ.Nmqi.NmqiFactory.GetInstance(NmqiPropertyHandler properties)
The line that throws the above error is :
MQQueueManager mqQMgr = new MQQueueManager("My queue manager" , "my channel name" ,"my connection name");
PS: the above line with the same params work fine in 7.5 mq client , but fails when a 6x (for ex: 188.8.131.52 mq client is installed, i have done 'typical' installation (full installation of 6x mq client).
Any idea how to make it work with 184.108.40.206?
Pinned topic Issues connecting ibm mq client to a lower version.
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-04-04T17:23:55Z at 2013-04-04T17:23:55Z by SystemAdmin