Problems with running EXE file built with Visual Studio on another computer

c++, exe, visual-c++, visual-studio, visual-studio-2008

Solution

I deployed my program in release instead of debug, and the EXE file now works on the other computer.

Problem

I created a client server application in C++ using Visual Studio. Now I want to run the client EXE file on another computer (which doesn't have Visual Studio installed), but when I try run the EXE file, it gives the following error message: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. How can I run the EXE file without installing anything on the computer?

Original source