title: Deploy WebApplication on localhost using IIS
body: <p>I am using Visual Studio 2010, Windows 7 and IIS. I have written a small WebApplication and I want to publish the WebApplication in the localhost. So I click on the project in Visual Studio => Publish => choose File Sytem => Local IIS. After that, I get an error:</p>
  
  <blockquote>
    <p>To access local IIS Web sites, you
    must install the following IIS
    components:</p>
  
  <pre><code>  IIS 6 Metabase and IIS 6 Configuration Compatibility
    ASP.NET
  </code></pre>
    
    <p>In addition, you must run Visual
    Studio in the context of an
    administrator account.</p>
    
    <p>For more information, Press F1.</p>
  </blockquote>
  
  <p>This topic is new for me, so I am a beginner. What exactly must I do to solve this error? Please help me. :(</p>
  
  <p>Thanks in advance!</p>