Search code examples
asp.net-mvciis-6remote-debugging

Unable to start debugging on the web server. The debugger cannot connect to the remote computer in MVC


I've just started to work on a MVC project. It's a web portal. I've set my sites on my local IIS 6.0 But when I want to start debugging, I get this error:

Unable to start debugging on the web server. The debugger cannot connect to the remote computer. The debugger was unable to resolve the specified computer name.

enter image description here

I don't understand that when I want to debug my project locally, what "Remote computer" it's talking about??!!

Please help me guys, this is my first task in this company and I have to overcome this error.


Solution

  • Check all the steps outlined here: https://msdn.microsoft.com/en-us/library/dwesw3ee.aspx?f=255&MSPPError=-2147217396

    If you're using a hosts file, make sure you have an entry for the site in question. That was the problem for me, when I encountered this message.