title: Visual Studio 2010: Debug web app in root of IIS 7 Web
body: <p>I'm trying to configure my mvc project, so that I can debug it from IIS7, but I need it to be configured for the root of the web application. </p>
  
  <p>What I've done: </p>
  
  <ul>
  <li>Added the support for the "II6 configuration and metadata support" to IIS7</li>
  <li>Created a new site in IIS7 at localhost:5000 (default settings)</li>
  <li>Set the property "Use Local Web Server" in the project properties to : <a href="http://localhost:5000">http://localhost:5000</a></li>
  <li>When I click save I get the following warning:
  "The local IIS URL <a href="http://localhost:5000/">http://localhost:5000/</a> specified for Web project MVC has not been configured. To keep these settings you need to configure the virtual directory. Would you like to create the virtual directory now?"</li>
  <li>When I click yes I get the message:
  "Unable to create the virtual directory. <a href="http://localhost:5000/">http://localhost:5000/</a>"</li>
  </ul>
  
  <p>The above works fine when I set the url to point to a sub/virutal folder e.g. <a href="http://localhost:5000/mvc">http://localhost:5000/mvc</a>.</p>
  
  <p>Any ideas? </p>