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 » MQS .Net Package: Error running SimplePut sample - mqm.dll

Post new topic  Reply to topic
 MQS .Net Package: Error running SimplePut sample - mqm.dll « View previous topic :: View next topic » 
Author Message
MartyD
PostPosted: Wed Aug 21, 2002 10:45 am    Post subject: MQS .Net Package: Error running SimplePut sample - mqm.dll Reply with quote

Newbie

Joined: 21 Aug 2002
Posts: 7

I have MQSeries Client Vers 5.2.1 on my PC and have been using the MQSeries COM lib (MQAX200.dll) in .Net - works OK.

I installed the new MQseries .Net library and tried running the SimplePut sample but get an error trying to instantiate MQQueueManager (unable to load mqm.dll). What am I doing wrong here?
Back to top
View user's profile Send private message
kolban
PostPosted: Wed Aug 21, 2002 11:24 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Do you just have the client library (mqic32.dll) installed? If so, a work around would be to take a copy of that library and call it mqm.dll (don't delete the original) and, hopefully, it should work.
Back to top
View user's profile Send private message
MartyD
PostPosted: Wed Aug 21, 2002 12:32 pm    Post subject: Reply with quote

Newbie

Joined: 21 Aug 2002
Posts: 7

That did the trick. Thanks!
I am an MQSeries novice. Please... explain why I needed to do this?
Thanks again.
Back to top
View user's profile Send private message
kolban
PostPosted: Wed Aug 21, 2002 2:15 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

I am glad that worked, wasn't 100% sure it would.

The MQSeries.NET package is a work in progress. In principle, it allows you to interface with MQ via a .NET supported language. MQSeries has TWO modes of connectining to it. One is as a client and the other is as a server. In the MQSeries.NET environment, it can use either of these mechanisms ... but ... on the environment I have for testing, I only have BOTH server and client installed and hence missed the scenario where a user may have one or the other and not both.

Knowing how the thing works, I knew it was looking for both mqm.dll and mqic32.dll. Copying one to be the other fixed the problem. Do NOT try this on a machine which really does have both installed. There should be no need.
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 » MQS .Net Package: Error running SimplePut sample - mqm.dll
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.