Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 143093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:02:27+00:00 2026-05-11T08:02:27+00:00

We are installing a third party application in one of our 64-bit Windows servers.

  • 0

We are installing a third party application in one of our 64-bit Windows servers. This application apparently was build with the compiler option set to choose the platform at run time. When we run the application it gives us an error:

System.BadImageFormatException: is not a valid Win32 application. 

I have seen in MSDN forums that in order to fix this error I have to build the application set to 32-bit, and that way it will run fine on a 64-bit server. I check on other StackOverflow links Other Posts.

How to get around this situation? For everyone that wants to know more information:

  1. The application is running fine in a 32-bit test server.
  2. IIS version 6
  3. using SQL Server Express 2005
  4. On the Web Service Extension there are both Framework64\v2.0.50727\aspnet_isapi.dll
  5. and Framework\v2.0.50727\aspnet_isapi.dll
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T08:02:27+00:00Added an answer on May 11, 2026 at 8:02 am

    One possibility is that the application depends on an unmanaged DLL that needs to be run in 32-bit mode. Since the default ‘AnyCPU’ .NET build checks the platform automatically the .NET part of the program is starting in 64-bit mode. This will cause the calls to the 32-bit-only unmanaged DLL to fail.

    To fix it, you need to create a manifest file to tell the app to run in 32-bit mode. I’ve never needed to do that myself, so I can’t provide instructions and a quick Google search hasn’t (yet) turned up anything.

    [Update]
    See if this link helps:
    http://msdn.microsoft.com/en-us/library/aa374191.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Without using any third party program to do this (i.e. without VMware ThinApp, U3
Our University provides web hosting to campus departments on servers we manage. Installing open-source
After installing export plugin i can not run grails application and get this java.lang.LinkageError:
After installing one of my .Net apps on a Windows 7 machine I keep
Installing my software on Windows XP was always easy. Everything went in the c:\Program
Installing Merb on Ruby Enterprise Edition (OS X) throws this error, any ideas? sudo
When installing subversion as a service, I used this command: c:\>svnservice -install --daemon --root
When installing one of JRuby's frequent upgrades, I need to re-install my gems, as
I have a program which needs installing on windows 64 boxes. Most of the
Consider this situation: There's a critical VB6 desktop application running on a production box.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.