title: Cassini: ASPX file: This type of page is not served
body: <p>When running a ASP.NET 3.5 project in Visual Studio 2010's Casini, I receive the following error:</p>
  <blockquote>
  <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 '.aspx' may be incorrect.<br />
  Please review the URL below and make
  sure that it is spelled correctly.</p>
  <p>Requested URL: /default.aspx</p>
  <p>Version Information: Microsoft .NET
  Framework Version:2.0.50727.4952;
  ASP.NET Version:2.0.50727.4955</p>
  </blockquote>
  <p>This is a project running in visual studio 2010 in windows 7 64 bit on .NET 3.5</p>
  <p>The same error occurs in IIS, although IIS is configured to handle .aspx:</p>
  <p><img src="https://i.stack.imgur.com/RzeZm.png" alt="IIS settings" /></p>
  <p>I also executed aspnet_regiis /i from the 2.0.50727 .net folder:</p>
  <blockquote>
  <p>C:\Windows\Microsoft.NET\Framework\v2.0.50727&gt;aspnet_regiis -i</p>
  <p>Finished installing ASP.NET (2.0.50727).</p>
  </blockquote>