After clicking “Run” button in Visual Studio to debug your .NET project, you may face this error:
Error while trying to run project: Unable to start program ‘C:\Users\nedim\Documents\Visual Studio 2012\Projects\projectname\bin\Debug\projectname.exe’.
The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.
Visual Studio is being prevented to get in debugging mode. There are two possible reasons:
- Remote Debugging is off. Go to “Start > Run”. Type the following path and hit Enter
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe
- A security software is blocking Remote Debugging service. Disable your security service as temporary. Try to run your project again. If it runs successfully, add exceptions in the software.