Urgent: The Application Is Not a Valid Win-32 Application.(Developed on 32 bit, deploy on server 64 bit)
Thursday, September 06, 2007 1:47 PM
We have Windows XP Professional (32-bit) machines which we use for development purpose, on which we will compile our ASP.Net 2.0 (32-bit) code using Visual Studio 2005, which builds and works really fine on the developer machines.
The Production Server has got Windows 2003 (64-bit) machine, that’s why the code which compiles on the developer machines fails on this server giving error “The Application Is Not a Valid Win-32 Application.”
Please help us solve this?
Thursday, September 06, 2007 7:20 PMModerator
In VS2005 one of your build platform options is AnyCPU build your code with that option and you can deploy your code in Win2003 x64, the other option is to use run IIS6 in WOW 64 mode this option runs a 64bit box in 32bit mode so all the benefits of 64bits may not be there so try this only if AnyCPU build option does not solve the problem. The first two links covers how to run 32bits application in 64bit Win2003 by default you need at least SP1 and the last link covers Reporting services because it is also IIS dependent. Post again if you still need help.
Sunday, February 24, 2008 7:27 PM