title: C# and Razor - The type of page you have requested is not served because it has been explicitly forbidden. The extension '.cshtml' may be incorrect
body: <p>I have looked through other posts but none seem to answer what I need.</p>
  
  <ul>
  <li>I created an empty site in WebMatrix (ASP.NET)</li>
  <li>I opened that site in VWD 2013</li>
  <li>I hit F5 and it runs fine on a URL such as <a href="http://local.com:59833/ContentPage.cshtml" rel="noreferrer">http://local.com:59833/ContentPage.cshtml</a></li>
  <li><p>I go to <a href="http://local.com/cscsu_bi/ContentPage.cshtml" rel="noreferrer">http://local.com/cscsu_bi/ContentPage.cshtml</a> and it doesn't work with the error below</p>
  
  <p><strong>Server Error in '/' Application.</strong></p>
  
  <p>This type of page is not served.</p>
  
  <p>Description: The type of page you have requested is not served because it has been explicitly forbidden.  The extension '.cshtml' may be incorrect.   Please review the URL below and make sure that it is spelled correctly. </p>
  
  <p>Requested URL: /cscsu_bi/ContentPage.cshtml</p></li>
  <li><p>The web.config file is as follows</p></li>
  </ul>
  
  <blockquote>
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
  &lt;appSettings&gt;
      &lt;add key="webpages:Enabled" value="true" /&gt;
    &lt;/appSettings&gt;
    &lt;system.web&gt;
      &lt;compilation debug="true" targetFramework="4.0" /&gt;
    &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  </blockquote>
  
  <p>I am on Windows 7. Is there anything obvious I'm doing wrong?</p>
  
  <p>Thanks</p>