title: Server Error in '/' Application. This type of page is not served
body: <p>I have an host where I hosted a webpage with <code>.cshtml</code> extension. My host is <em>arvixe.com</em> that provides ASP and .NET hosting but when I try to load my web page I get this error message.</p>
  <blockquote>
  <p>Server Error in '/' Application.</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: /samples/WoT/Default.cshtml</p>
  <p>Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET  Version:4.0.30319.276</p>
  </blockquote>
  <p>I read something does I have to write something in my web.config file to make it work
  like this</p>
  <pre><code>&lt;compilation&gt;
    &lt;assemblies&gt;
      &lt;add assembly=&quot;System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&gt;
    &lt;/assemblies&gt;
    &lt;buildProviders&gt;
      &lt;add extension=&quot;.cshtml&quot; type=&quot;System.Web.WebPages.Razor.RazorBuildProvider, System.Web.WebPages.Razor&quot;/&gt;
    &lt;/buildProviders&gt;
  &lt;/compilation&gt;
  </code></pre>
  <p>But I tried everything, paste it in on different lines, nothing worked. What do I miss or do wrong?</p>