Advertisement

01.21.2008 at 05:31PM PST, ID: 23099945
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.4

Windows 2003 64-bit error 0x8007000B with a 32-bit dll - how to resolve w/o recompile?

Asked by blhayes in Windows Programming, .Net Editors & IDEs, Windows 64-bit

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.BadImageFormatException
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=93912

http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic46570.aspx

Lead 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
 
 
[+][-]01.23.2008 at 12:58AM PST, ID: 20721797

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01.27.2008 at 11:26PM PST, ID: 20757372

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.28.2008 at 02:51PM PST, ID: 20763779

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows Programming, .Net Editors & IDEs, Windows 64-bit
Sign Up Now!
Solution Provided By: blhayes
Participating Experts: 2
Solution Grade: B
 
 
[+][-]02.06.2008 at 02:56PM PST, ID: 20836623

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.15.2008 at 06:09PM PST, ID: 20907676

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628