Author |
Message
|
sumitbhagat |
Posted: Tue Jan 29, 2002 10:15 am Post subject: |
|
|
Newbie
Joined: 28 Jan 2002 Posts: 3
|
I am a novice to MQ.
Whenever I run an application which uses MQ , I get this runtime error '48' - File Not Found - MQM.DLL. I tried registering this dll using regsvr32.exe - but that did not help.
Please let me know what can I do to overcome this problem
Thanks,
Sumit
|
|
Back to top |
|
 |
kolban |
Posted: Tue Jan 29, 2002 11:36 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
The MQM.DLL is part of the MQSeries server product. Is MQSeries installed on your system? Is MQSeriesbin folder in your PATH? |
|
Back to top |
|
 |
StefanSievert |
Posted: Tue Jan 29, 2002 11:48 am Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
In addition to what Neil said: If you are running your application on an MQSeries Client, you need to link it with the library MQIC32.DLL.
What is your configuration, MQServer or MQClient?
Do the sample programs in ...toolscsamplesbin (amqsputc/amqsput) work?
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
sumitbhagat |
Posted: Wed Jan 30, 2002 3:58 am Post subject: |
|
|
Newbie
Joined: 28 Jan 2002 Posts: 3
|
Many thanks to both of you. Infact it was working last week. All of a sudden I got this problem.
I have MQ Client on my machine. On trying to register MQM.dll - I get the error that "mqm.dll was loaded but the DllRegisterServer entry point was not found.
DllRegisterServer may not be exported or a corrupt version of mqm.dll may be in memory. Consider using Pview to detect and remove it."
I get the same error when I tried to register MQIC32.dll.
I uninstalled MQ and re-installed it..but that did not help.
On trying to run the sample program I got the error that "AMQXCS2.dll is not a valid Windows NT image."
Please Help
Sumit
|
|
Back to top |
|
 |
NickB |
Posted: Wed Jan 30, 2002 4:24 am Post subject: |
|
|
Centurion
Joined: 20 May 2001 Posts: 107 Location: Zurich Financial Services
|
Make sure that you do not have 2 versions of mqm.dll on your machine. |
|
Back to top |
|
 |
StefanSievert |
Posted: Wed Jan 30, 2002 4:38 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Looks like your installation is really messed up...
I would suggest that you:
0/ Save any channel files and programs you have put under x:...MQClient
1/ Uninstall the MQClient
2/ Reboot
3/ Search for all mq*.dll, imq*.dll and amq*.dll files on your drive and delete them, wherever they are
4/ Check that there are no registry entries under HKEY_LOCAL_MACHINESOFTWAREIBMMQSeries
5/ Reboot (it's Windows, you know!?)
6/ Re-Install the latest MQClient for WinNT (http://www-4.ibm.com/software/ts/mqseries/txppacs/macp.html)
7/ Reboot
8/ retry
Let us know if this cured the desease...
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
sumitbhagat |
Posted: Thu Jan 31, 2002 5:14 am Post subject: |
|
|
Newbie
Joined: 28 Jan 2002 Posts: 3
|
Thanks a ton all of you...it worked !!!!!
~Cheers
Sumit |
|
Back to top |
|
 |
|