Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 MSVSMON.EXE does not work

I'm really tired of this error.

Most of the time, when I want to debug the program , I'm faced with this message. enter image description here

Microsoft to offer solutions, but it is quite confusing:

1. Make sure the Visual Studio Remote Debugging Monitor is installed and running on the remote machine.

2. Make sure the Remote Server Name is correct in the Name box in the Project Properties dialog box.

3. Verify that the remote machine is accessible on the network.

please someone help and guide me because all of my projects have been suspended and i need visual studio debugging.

meanwhile, when i dc from internet, visual studio will work.

like image 263
14 revs, 3 users 95% Avatar asked Mar 03 '26 11:03

14 revs, 3 users 95%


2 Answers

Windows 7 x64, VS 2012, VB.NET

I fixed it like this:-

Create a shortcut on your desktop to "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe". Right-click shortcut and select "Properties" from the dropdown menu. Select the "Compatibity" tab Tick "Run this program as administrator" Click OK

Create a shortcut on your desktop to "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe". Right-click shortcut and select "Properties" from the dropdown menu. Select the "Compatibity" tab Tick "Run this program as administrator" Click OK

To start VS2012:-

1) Double-click the msvsmon shortcut icon (that you created above, to launch msvsmon)

2) Double-click the "Visual Studio 2012 Professional" shortcut icon (that you created above, to launch VS2012)

3) In VS2012, ensure standard toolbar is visible.

4) In VS2012, ensure "Solution Platforms" dropdown (on standard toolbar) is visible and set to "x86".

and ... wowee ... debug works !

like image 65
Henry Avatar answered Mar 06 '26 01:03

Henry


I had the same problem. I fixed changing in properties/compile/target platform to x86 instead of Any CPU. It was the problem in my case. Hope it helps.

like image 38
Alejandro del Río Avatar answered Mar 06 '26 03:03

Alejandro del Río



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!