Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MQ7: Unable to load DLL 'mqic.dll' (amqmdnet) c#

55 views
Skip to first unread message

Ulrich Binder

unread,
May 14, 2008, 3:54:50 AM5/14/08
to
Hi,

i'm trying to connect to a messagequeue in c# using amqmdnet (running mq7
beta on vista) but whenever i try to create a new MQQueueManager object
with something like

> new MQQueueManager(queueManager, channel, hostname );

i get the following exception:

TestCase 'Tests.WebSphereMQEventAdapterTests.TransactionalTest'
failed: System.DllNotFoundException :

Unable to load DLL 'mqic.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)

at IBM.WMQ.MQClient.MQCONNX(String qMgrName, MQCNO& mqcno, Int32& pHconn,
Int32& pCompCode, Int32& pReason)
at IBM.WMQ.MQClientConnector.MQCONNX(String qMgrName, MQConnectOptions&
cno, Int32& hConn, Int32& compCode, Int32& reason)
at IBM.WMQ.MQQueueManager.Connect(String queueManagerName)
C:\Development\...\WebSphereMQEventAdapterTests.cs(592,0):


the .dll is part of the MQ installation, i tried to copy it to my bin/
directory (where the amqmdnet.dll is stored) and i also tried to copy it to
win/system32 but to no avail.

is there a special place amqmdnet tries to search for this mqic.dll? is
anyone else having this problem?

any hint is appreciated.
thanks,
Ulrich Binder

fjb_saper

unread,
Aug 12, 2008, 12:45:26 AM8/12/08
to
Sorry looks like the post has some age...
Anyways for those who do not know the answer:
Ulrich, It looks like you are trying to use more than just a .NET
"managed " connection. For that you will have to load the full mq
client. You cannot just copy the dlls. Doesn't work that way.
Enjoy
0 new messages