|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
amqmdnac.dll is missing |
« View previous topic :: View next topic » |
Author |
Message
|
johnsimons |
Posted: Mon Mar 18, 2013 8:21 pm Post subject: amqmdnac.dll is missing |
|
|
Newbie
Joined: 18 Mar 2013 Posts: 5
|
I'm running the xms samples from .net (C:\Program Files (x86)\IBM\WebSphere MQ\tools\dotnet\samples\cs\xms\Samples.sln)
I have the SampleProducer working fine using the following response file:
Quote: |
simple
wmq
bindings
QM_TEST.local.one
Hello World |
But the SampleConsumer using the following response file fails:
Quote: |
simple
wmq
bindings
QM_TEST.LOCAL.ONE |
with:
Code: |
Exception caught: System.DllNotFoundException: Unable to load DLL 'C:\Program Files (x86)\IBM\WebSphere MQ\bin64\amqmdnac.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at NativeBindingsType.NativeACMQCB(Int32 hConn, Int32 operation, Int32 hObj, IntPtr mqcbd, IntPtr mqmd, IntPtr mqgmo, CallbackDelegate myDelegate, Int32 bind ingsMode, Int32& compCode, Int32& reason)
at IBM.WMQ.Nmqi.BindingsNmqiMQ.MQCB(Hconn hConn, Int32 operation, MQCBD pCallbackDesc, Hobj hobj, MQMessageDescriptor pMsgDesc, MQGetMessageOptions getMsgOpts, Int32& compCode, Int32& reason)
at IBM.XMS.Client.WMQ.WmqAsyncConsumerShadow.DeregisterMessageListener()
at IBM.XMS.Client.WMQ.WmqAsyncConsumerShadow.CloseInternal()
at IBM.XMS.Client.WMQ.WmqConsumerShadow.Close()
at IBM.XMS.Client.WMQ.WmqMessageConsumer.Close()
at IBM.XMS.Client.Impl.XmsMessageConsumerImpl.Close()
at IBM.XMS.Client.Impl.XmsMessageConsumerImpl.Dispose()
at IBM.XMS.Samples.SampleConsumer.ReceiveMessages() in c:\Program Files (x86)\IBM\WebSphere MQ\tools\dotnet\samples\cs\xms\SampleConsumer\SampleConsumer.cs:line 226
at IBM.XMS.Samples.SampleConsumer.Main(String[] args) in c:\Program Files (x86)\IBM\WebSphere MQ\tools\dotnet\samples\cs\xms\SampleConsumer\SampleConsumer.cs:line 91 |
However if I change receive mode to sync, thenm it works.
I searched for "amqmdnac.dll" on my system, but I can't find it!
Where do I get this file from? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 19, 2013 3:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
callbacks are only introduced in MQ v7.1. |
|
Back to top |
|
 |
johnsimons |
Posted: Tue Mar 19, 2013 2:03 pm Post subject: |
|
|
Newbie
Joined: 18 Mar 2013 Posts: 5
|
mqjeff wrote: |
callbacks are only introduced in MQ v7.1. |
I'm using WebSphere MQ v7.5 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|