title: Deploy asp.net mvc website to iis 8
body: <p>After developping my Website using ASP.NET, C# and the MVC pattern, i'm now to the point of deploying my site to a 'real' server (not IIS express from visual studio anymore).</p>
  
  <p>So, i tried to use Web deploy, configured everything and it seem to have been properly done because i now see all my files from the server side.</p>
  
  <p>But sadly, when i try to access the website, i run into error 403 (from both the client and the server), the server gives me a little more information : </p>
  
  <blockquote>
    <p>"Error 403.14 - Forbidden - The server isn't configured to show the
    files of this directory"</p>
  </blockquote>
  
  <p>If i try to use the url as i did with Visual Studio (like, url/Views/Home/) and it returns this :</p>
  
  <p><code>Error 500.19
     28:   &lt;system.webServer&gt;
     29:     &lt;handlers&gt;
     30:       &lt;remove name="BlockViewHandler"/&gt;</code></p>
  
  <p>Here's the web.config files concerned : (a bit)</p>
  
  <pre><code>  &lt;system.webServer&gt;
  &lt;handlers&gt;
    &lt;remove name="BlockViewHandler"/&gt;
    &lt;add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" /&gt;
  &lt;/handlers&gt;
  </code></pre>
  
  <p></p>
  
  <p>I don't see where's the problem, as this website was running fine from Visual Studio.</p>
  
  <p>The deploy is done in release mode.</p>
  
  <p>EDIT: I enabled directory browsing, and it returns the same error 500 when i get in the 'Views' folder</p>