Author |
Message
|
lmac |
Posted: Fri Feb 27, 2009 6:14 am Post subject: HELP! Cannot add reference to amqmdnet.dll for WebSphere MQ |
|
|
Newbie
Joined: 27 Feb 2009 Posts: 3
|
I am brand new to WbeSphere MQ & pretty much a .NET baby as well. I'm hoping someone can help. I need to modify a process to use Websphere MQ (was previously using MSMQ), but when I try to add the reference to the amqmdnet.dll, it pops up an error box with the following:
A reference to 'C:\Program Files\IBM\WebSphere MQ\bin\amqmdnet.dll' could not be added. This is not a valid assembly or COM component. Only assemblies with extension 'dll' and COM components can be referenced. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
When I spoke to the person who installed Websphere on my machine, he didn't know why it was doing this. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 27, 2009 6:19 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You might need to reboot, it is windows after all.
You can also look in the MQ .NET docs for gacutil commands. |
|
Back to top |
|
 |
lmac |
Posted: Fri Feb 27, 2009 6:25 am Post subject: |
|
|
Newbie
Joined: 27 Feb 2009 Posts: 3
|
Thanks for the quick response! I have already tried to re-boot (when all else fails, right?! )
I will look more into the gacutil commands to see if there is something there. This was "supposed" ot be the easy part.  |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 27, 2009 6:30 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lmac wrote: |
This was "supposed" to be the easy part.  |
Wait until you discover the architectural differences between MSMQ & WMQ; then you'll think this was the easy part!
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lmac |
Posted: Fri Feb 27, 2009 6:31 am Post subject: |
|
|
Newbie
Joined: 27 Feb 2009 Posts: 3
|
uh oh....  |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 27, 2009 6:34 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Your first clue is this: In WebSphere MQ you can only read a message from a QLOCAL on the qmgr you are connected to. |
|
Back to top |
|
 |
|