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 » General Discussion » Windows 7 64 bit with MQ 6.0

Post new topic  Reply to topic
 Windows 7 64 bit with MQ 6.0 « View previous topic :: View next topic » 
Author Message
DFranke
PostPosted: Thu Aug 19, 2010 11:06 am    Post subject: Windows 7 64 bit with MQ 6.0 Reply with quote

Novice

Joined: 25 Dec 2003
Posts: 13

Hoping someone has conquered this already and might be able give me a direction to look.

We are currently running an asp.net application using the MQ 6 Client Libraries to connect to the server. Our application is compiled using Visual Studio 2008.

Connectivity from the Web App to the server is done using the amqclchl.tab file for server lookup.

The application runs fine under Windows 7 32 bit.
On Windows 7 64 bit OS we get a 2059 error.
If I change the code to forcefully set the MQEnvironment.HostName, Channel and Port and not use the tab file, then everything works. Just doesn't work with the tab file.

I have tried setting security settings on the tab file thinking it might be a security issue but that did not work.

Running out of ideas.

Any help is appreciated.

Dave
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Aug 19, 2010 2:18 pm    Post subject: Re: Windows 7 64 bit with MQ 6.0 Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

DFranke wrote:
Hoping someone has conquered this already and might be able give me a direction to look.

We are currently running an asp.net application using the MQ 6 Client Libraries to connect to the server. Our application is compiled using Visual Studio 2008.

Connectivity from the Web App to the server is done using the amqclchl.tab file for server lookup.

The application runs fine under Windows 7 32 bit.
On Windows 7 64 bit OS we get a 2059 error.
If I change the code to forcefully set the MQEnvironment.HostName, Channel and Port and not use the tab file, then everything works. Just doesn't work with the tab file.

I have tried setting security settings on the tab file thinking it might be a security issue but that did not work.

Running out of ideas.

Any help is appreciated.

Dave

As far as I understand for Windows you have 2 different installs one for 32 bit systems and one for 64 bit systems.

Make sure you have the right implementation (server or client). Note that you might have to uninstall one version and reinstall the other.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
DFranke
PostPosted: Fri Aug 20, 2010 6:34 am    Post subject: Reply with quote

Novice

Joined: 25 Dec 2003
Posts: 13

I'm not sure I follow.

At the moment we are in the testing phase with Windows 7.
All of our production systems use MQ Server 6.0.1.1 and MQ Client 6.0.1.1.

We are trying to test the implementation of our web sites from Windows 7 connecting to our existing MQ 6.0.1.1 Servers. We are installing the web sites on both a Windows 7 32bit and 64bit OS to verify that it works.

As far as I know there is only one install for the client - not a seperate version for 32bit/64bit - correct?

I can get the client working on both the 32bit and 64bit OS with the one exception that if I try to use the tab file on the 64bit OS I always get a 2059 error returned. By manually setting the MQEnvironment values it works. I have also ran a test with amqsputc on both systems and that works as well.

All installations of the client were done with the MQ6 Client installation CD.
They were not installed with the version from the MQ Server CD.

We are using the environment variables to point to the tab files.

Hope that clarifies things a little better.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Aug 20, 2010 6:47 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

No version of MQ v6 is supported on Windows 7. This applies to both the client and the server.

http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27006266

No version of MQ v6 on Windows is 64-bit.

Your best bet for getting what you want done is to recompile against MQ v7 client 64-bit libraries.
Back to top
View user's profile Send private message
DFranke
PostPosted: Fri Aug 20, 2010 11:08 am    Post subject: Reply with quote

Novice

Joined: 25 Dec 2003
Posts: 13

Understand that it is not support - just hoping from my results that I could get it working.

So - going forward with this - I uninstalled MQ 6.0.1.1 Client and installed the MQ 7.0.1.2 client. - rebooted the machine when I was done.

I still have the Environment Variables set that are pointing to our .tab file.
The .tab file was created on the MQ 6.0.1.1 Server. According to the MQ 7 doco I should still be able to use the .tab file created from that version.

After the install I ran the amqsputc program and verified that it would connect to our mq 6.0.1.1 server and place a message on the queue.

I updated my ASP.NET web site to reference the new amqmdnet.dll file that came with mq 7.

When I try to run the application I now get the error TypeInitializationException. When I look at the error details it says "Unable to load DLL amqxcs2.dll, specified module cannot be found."

I have verfied that all the mq 7 dlls are registered properly in the GAC.

Any suggestions?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Aug 20, 2010 11:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

DFranke wrote:
Any suggestions?

I know more Java than I do .NET, so you've kind of hit my limiit on that front.

It's possible the v7 client is having issues using the v6 CCDT. I would hope that's not the case, but it must be considered. The nice thing about a CCDT is that you can generate it from any qmgr you want, so you could install MQV7 on a desktop or something and create a test CCDT that points to the same queue managers and see if that helps.

And since you're now using a supported client, you can open a PMR.
Back to top
View user's profile Send private message
DFranke
PostPosted: Fri Aug 20, 2010 12:47 pm    Post subject: Reply with quote

Novice

Joined: 25 Dec 2003
Posts: 13

Ok - got past the unable to load the amqxcs2.dll problem.
Apparently the path varibable was being truncated inside of Visual Studio.
By moving the path to the IBM bin directory to the front of the list it was able to find it.

However - now I get a different error 2277 MQRC_CD_ERROR.

As far as trying a tab file from MQ 7 - I would like to but I don't have a copy of MQ 7 Server yet. We are still waiting to get that from purchasing. I was able to get the client from the IBM downloads.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Aug 20, 2010 2:26 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

There's an issue for unmanaged .NET clients connecting using a CCDT, for which there is an iFix. It was supposed to be in 7.0.1.2, but somehow missed the boat.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Aug 20, 2010 2:29 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

DFranke wrote:
As far as trying a tab file from MQ 7 - I would like to but I don't have a copy of MQ 7 Server yet. We are still waiting to get that from purchasing. I was able to get the client from the IBM downloads.


The free MO72 Support Pack allows you to convert channel table from one MQ version to another.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Aug 20, 2010 6:11 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

exerk wrote:
There's an issue for unmanaged .NET clients connecting using a CCDT, for which there is an iFix. It was supposed to be in 7.0.1.2, but somehow missed the boat.


So, clearly, we're back to "open a PMR". And request the above iFix - by description at least if you can't otherwise convince some old soldier to provide the actual iFix number.
Back to top
View user's profile Send private message
exerk
PostPosted: Sat Aug 21, 2010 1:04 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

mqjeff wrote:
So, clearly, we're back to "open a PMR". And request the above iFix - by description at least if you can't otherwise convince some old soldier to provide the actual iFix number.


Sorry, TFP64790. Didn't have it to hand when I posted .
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
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 » General Discussion » Windows 7 64 bit with MQ 6.0
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.