|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Run 32-bit .NET MQ application on 64-bit Windows Server 2003 |
« View previous topic :: View next topic » |
Author |
Message
|
GeordieBri |
Posted: Mon Mar 02, 2009 8:43 am Post subject: Run 32-bit .NET MQ application on 64-bit Windows Server 2003 |
|
|
Newbie
Joined: 05 Feb 2009 Posts: 8
|
Hi,
I've built a simple .NET application (i.e. new MQQueueManager). It runs on my Windows XP 32-bit platform. It throws a System.BadImageFormatException on my Windows Server 2003 64-bit platform. Removing the reference to any MQ classes (i.e. commenting out new MQQueueManager) does not throw an exception, so I'm confident it's MQ related.
I've searched the forums for this exception, read several other accounts of people experiencing this issue, with no solution.
Please can anyone shed light on this issue? What do I need to do to build a .NET MQ application that will run on a 64-bit platform?
Thanks! |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 02, 2009 8:46 am Post subject: Re: Run 32-bit .NET MQ application on 64-bit Windows Server |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
GeordieBri wrote: |
What do I need to do to build a .NET MQ application that will run on a 64-bit platform? |
Use a version of WMQ that supports 64 bit apps?
Of course, if you'd mentioned which version of WMQ you are actually using, we could have dismissed that as a possible problem. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
GeordieBri |
Posted: Mon Mar 02, 2009 8:54 am Post subject: |
|
|
Newbie
Joined: 05 Feb 2009 Posts: 8
|
dspmqver reports MQ version 6.0.2.2. |
|
Back to top |
|
 |
GeordieBri |
Posted: Mon Mar 02, 2009 9:24 am Post subject: |
|
|
Newbie
Joined: 05 Feb 2009 Posts: 8
|
Solved. .NET application needed to be forced x86, and MQEnvironment properties removed (to use 'local queue manager', I believe). |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|