Wednesday, November 27, 2013

Run Visual Studio as an Administrator in Windows 8

In Windows 8, you have to right-click devenv.exe and select "Troubleshoot compatibility".
1.    select "Troubleshoot program"
2.    check "The program requires additional permissions"
3.    click "Next", click "Test the program..."
4.    wait for the program to launch
5.    click "Next"
6.    select "Yes, save these settings for this program"
7.    click "Close"



If you are getting the error 'Unable to debug the server' when trying to debug a solution, try running visual studio as administrator.  The above forces Visual Studio to always run as administrator so you won't get this error again