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 » BadImageFormatException

Post new topic  Reply to topic
 BadImageFormatException « View previous topic :: View next topic » 
Author Message
Diavolo
PostPosted: Thu Jun 22, 2006 5:28 am    Post subject: BadImageFormatException Reply with quote

Newbie

Joined: 22 Jun 2006
Posts: 2
Location: Swiss

Hallo,

maybe someone has an idea.

workaraound:

develop language: c#

destination system:
Windows 2003 (x64) with SP 1
Websphere MQ V 6.0
.NET Framework 2.0 (x64)
pathes are correct set. amqmdnet.dll, amqxcs2.dll an so on will correctly find (i checked this with FileMon V 7.0)

the problem.

at first i got and "System.BadImageFormatException". these Exception is thrown wenn i initialize an MQManager. after catching these Exception i got now :
Exception: An attempt was made to load a programm with an incorrect format. (Exception from HRESULT: 0x80070008)
Stack: at IBM.WMQ.CommonServices.xcsInitialize (UInt16 scope, UInt16 attributes, Byte[] charName, Byte[] charPrefix, xcsHPOOL&hPool)
at IBM.WMQ.CommonServices.Initialized()
at IBM.WMQ.CommonServices.ctor()
at IBM.WMQ.CommonServices.CreateCommonServices()
at IBM.WMQ.CommonServices.TraceEntry(UInt32 component, UInt32 method)
at IBM.WMQ.MQBaseObject.TrEntry(UInt32 method)
at IBM.WMQ.MQQueueManager.Connect(String queueManagerName)

on another System (32 Bit) the programm is still running.

maybe someone can help.

greetings diavolo
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Jun 22, 2006 8:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I would say more info is needed
At what point are you getting this error and if possible code snippet etc
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wschutz
PostPosted: Thu Jun 22, 2006 8:47 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Can you build and run the supplied c# samples nmqsput.cs etc using the supplied bat files?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Diavolo
PostPosted: Fri Jun 23, 2006 1:02 am    Post subject: Reply with quote

Newbie

Joined: 22 Jun 2006
Posts: 2
Location: Swiss

Ok, thanks for your reply. here the latest news.

today were the "cracks" from Microsoft and IBM-Websphere MQ here and looked about the problem.

after a short discussion both told us that at the moment it issnt possible to run the .NET Dll's (amqmdnet .. and so on) under a 64-bit system.

they let it open when it will be fixed

greetings Diavolo
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 » BadImageFormatException
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.