title: Unable to start debugging on the web server. The remote server returned an error: (404) Not Found. Error when starting debug in Visual Studio
body: <p>I have set up project to be run on IIS for some time ago and when I did press F5 it did connect no problem. But recently this stopped working and I did get this error when I press F5 / press <code>Debug-&gt;Start debugging</code>:</p>
  
  <blockquote>
    <p>Unable to start debugging on the web server. The remote server
    returned an error: (404) Not Found.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/wPJ3m.png" rel="noreferrer"><img src="https://i.stack.imgur.com/wPJ3m.png" alt="enter image description here"></a></p>
  
  <p>Here is my settings:</p>
  
  <p><a href="https://i.stack.imgur.com/DYsiP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DYsiP.png" alt="enter image description here"></a></p>
  
  <p>I am not sure what happened, probably some VS updates or Windows updates, but I've tried to google everywhere and nothing had worked. Attach to process works fine as before, but this simpler way stopped doing the trick.</p>
  
  <p><strong>Update:</strong></p>
  
  <p>Have tried Process Monitor to figure out what is going wrong and it looks like w3wp tries to access path <code>MyProjectFolder\debugattach.aspx</code> and the result is "NAME NOT FOUND". Don't know if this is the root of the problem though.</p>