0

I have an application compiled using MS Visual Studio 2017. The application is a C++ application using MFC. When the application is tried to run on Windows Server 2003 R2, I get this error

ACE.exe is not a valid Win32 Application.

The command set processor returns following

PROCESSOR_ARCHITECTURE=AMD64

PROCESSOR_IDENTIFIER=EM64T Family 6 Model 45 Stepping 2, GenuineIntel 

PROCESSOR_LEVEL =6

PROCESSOR_REVISION=2d02 

The server is running on a VM.

Does any one have any idea why it might not be running?

7
  • Does the executable run on the machine you compiled it on? Jun 18, 2019 at 17:14
  • yes mate, It runs fine. Jun 18, 2019 at 17:17
  • Have you tried opening up the exe in a hex editor on the vm and making sure it is what you think it is? It sounds malformed as you aren't even getting to the DLLs getting loaded. I often use cff explorer because it is both awesome and free. If you are compiling 32bit, try 64bit or visa versa. Jun 18, 2019 at 17:27
  • I have verified the size and checksum. I will try this cff explorer. Thanks Jun 18, 2019 at 17:44
  • What was the platform toolset value set to in the project general config? Jun 18, 2019 at 19:23

0

You must log in to answer this question.

Browse other questions tagged .