title: After reinstalling iis unable to start debugging on the web server. the remote server returned an error: (404) not found.`
body: <p>After I reinstalled IIS for some other reason, I'm now unable to debug asp.net applications in visual studio using the 'local IIS' option.
  Before reinstalling IIS, everything was working fine.</p>
  
  <p>This is the error I'm getting.
  unable to start debugging on the web server. the remote server returned an error: (404) not found.`</p>
  
  <p>I checked the web.config, debug is true</p>
  
  <pre><code>&lt;system.web&gt;
      &lt;authentication mode="None"/&gt;
      &lt;compilation debug="true" targetFramework="4.5"/&gt;
      &lt;httpRuntime/&gt;
      &lt;pages controlRenderingCompatibilityVersion="4.0"/&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>Checked the applicationHost.config on C:\Windows\System32\inetsrv\config
  The RequestFiltering is set to Allow.</p>
  
  <pre><code>&lt;configSections&gt;
  &lt;sectionGroup name="system.webServer"&gt;
  &lt;sectionGroup name="security"&gt;
  &lt;section name="requestFiltering" overrideModeDefault="Allow" /&gt;
  &lt;/sectionGroup&gt;
  &lt;/sectionGroup&gt;
  &lt;/configSections&gt;
  </code></pre>
  
  <p>I checked the debugger log. Doesn't give any clue.
  %UserProfile%\AppData\Local\Temp\Visual Studio Web Debugger.log
  It shows </p>
  
  <blockquote>
    <p>IIS 10.0 Detailed Error - 404.6 - Not Found</p>
  </blockquote>
  
  <p>along with some html content. That's where it mentioned about Request Filtering, but that looks good.</p>
  
  <p>I'm not sure what could have ruined the debugging feature.</p>