Author |
Message
|
DFranke |
Posted: Thu Aug 19, 2010 11:06 am Post subject: Windows 7 64 bit with MQ 6.0 |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu Aug 19, 2010 2:18 pm Post subject: Re: Windows 7 64 bit with MQ 6.0 |
|
|
 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 |
|
 |
DFranke |
Posted: Fri Aug 20, 2010 6:34 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Aug 20, 2010 6:47 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
DFranke |
Posted: Fri Aug 20, 2010 11:08 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Aug 20, 2010 11:41 am Post subject: |
|
|
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 |
|
 |
DFranke |
Posted: Fri Aug 20, 2010 12:47 pm Post subject: |
|
|
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 |
|
 |
exerk |
Posted: Fri Aug 20, 2010 2:26 pm Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Fri Aug 20, 2010 2:29 pm Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Fri Aug 20, 2010 6:11 pm Post subject: |
|
|
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 |
|
 |
exerk |
Posted: Sat Aug 21, 2010 1:04 am Post subject: |
|
|
 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 |
|
 |
|