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 » Run 32-bit .NET MQ application on 64-bit Windows Server 2003

Post new topic  Reply to topic
 Run 32-bit .NET MQ application on 64-bit Windows Server 2003 « View previous topic :: View next topic » 
Author Message
GeordieBri
PostPosted: Mon Mar 02, 2009 8:43 am    Post subject: Run 32-bit .NET MQ application on 64-bit Windows Server 2003 Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Mar 02, 2009 8:46 am    Post subject: Re: Run 32-bit .NET MQ application on 64-bit Windows Server Reply with quote

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
View user's profile Send private message
GeordieBri
PostPosted: Mon Mar 02, 2009 8:54 am    Post subject: Reply with quote

Newbie

Joined: 05 Feb 2009
Posts: 8

dspmqver reports MQ version 6.0.2.2.
Back to top
View user's profile Send private message
GeordieBri
PostPosted: Mon Mar 02, 2009 9:24 am    Post subject: Reply with quote

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
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 » Run 32-bit .NET MQ application on 64-bit Windows Server 2003
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.