ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » amqmdnac.dll is missing

Post new topic  Reply to topic
 amqmdnac.dll is missing « View previous topic :: View next topic » 
Author Message
johnsimons
PostPosted: Mon Mar 18, 2013 8:21 pm    Post subject: amqmdnac.dll is missing Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 19, 2013 3:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

callbacks are only introduced in MQ v7.1.
Back to top
View user's profile Send private message
johnsimons
PostPosted: Tue Mar 19, 2013 2:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » amqmdnac.dll is missing
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.