How we run a .NET 32-bit application in a 64-bit Windows server?
- by Geo
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:
The application is running fine in a 32-bit test server.
IIS version 6
using SQL Server Express 2005
On the Web Service Extension there are both Framework64\v2.0.50727\aspnet_isapi.dll
and Framework\v2.0.50727\aspnet_isapi.dll