Greetings,
Thank you for assisting me with this show stopper. Apparently I'm attempting to run an app with a 32-bit dll on a 64-bit .net 2.0 system (hosted server, I can't fall back to Win2003 32-bit) and when this 32 bit dll code is executed (program runs fine for over a minute before this dll's code is required) I get a stack trace and the message just below. The vendor is not interested in my configuration, so I'm thinking that there must be some way to encapsulate or otherwise provide this code with a nice cozy 32-bit box in which to happily run.
Attempting to run a packaged product on Win2003 Svr 64-bit w .Net 2.0 ( 1@1 hosted server).
Got message:
Type: System.BadImageFormatExcep
tion
Message: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Doing research on the problem, these posts:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=93912http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic46570.aspxLead me to believe that a DLL was compiled and bound to run "anycpu" and it should have been bound and to run "x86".
If the above is true, how may I set the dll to run x86?
If the above is not true, please suggest workarounds. The vendor seems unwilling to recompile his dll set to explicitly state x86 / 32-bit.
I THOUGHT the whole goal of going 64-bit with the MSIL was to ensure backwards compatibility for things like 32-bit DLLs loaded and running in a 64-bit environment. Surely the 64-bit system architects did not plan to have every packaged software provider recompile all of their kits for 64-bit, requiring everyone to maintain 2 sets of binaries.
Thanks in advance for any advice or ideas on how to do this.
Also, the DLLs for this product seem to be encased in <name>.dll.deploy files. A pointer to get me up to speed on deployment packages and how to look inside and edit the dll characteristics (in anticipation of my having to edit a dll characteristics) would be muchly appreciated.
Thanks you!
Start Free Trial