title: page is not served because it has been explicitly forbidden - extension .asp may be incorrect
body: <p>I'm trying to run a test version of a web using the File System (i.e. the "Cassini" web server built-in to Visual Studio 2005) rather than  (IIS 5.1 on my Win XP dev PC). This web is a hodge-podge of classic ASP files written years ago and some new development in ASP.NET (VB.NET). </p>
  
  <p>How can I get past this error message as it tries to go to /TestWeb/default.asp? -</p>
  
  <pre><code>Server Error in '/TestWeb' Application.
  This type of page is not served.
  Description: The type of page you have requested is not served because it has been explicitly   forbidden.  The extension '.asp' may be incorrect.   Please review the URL below and make sure that it is spelled correctly.
  Requested URL: /TestWeb/default.asp
  Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082 
  </code></pre>
  
  <p>Things I have checked and previously encountered trying to get this mess working:  </p>
  
  <ol>
  <li>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config
  (has nothing for *.asp nor
  HttpForbiddenHandler so nothing to
  comment out).</li>
  <li>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config
  (has nothing for *.asp)</li>
  <li>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config
  (had a HTTPForbiddenHandler for
  *.asp but I commented it out as per other postings advice; seemed to
  have no effect for me though).</li>
  <li>To get past an earlier error
  ("Request for the permission of type
  'System.Web.AspNetHostingPermission'
  failed"), I had to go to
  "Administrative Tools > MS .Net
  Framework 2.0 Configuration > My
  Computer> Runtime Security Policy >
  change Local Intranet to Full Trust.</li>
  <li>To get past an earlier error ("the
  network bios command limit has been
  reached") I had to "enable a hot
  fix" by adding the following DWORD
  value at the following registry key:
  HKLM\Software\Microsoft\ASP.NET\FCNMode
  and set the value to 1 (per MS KB
  Article 911272).</li>
  </ol>
  
  <p>This whole web has been placed on a file server in our LAN and from my desktop VStudio2005 views it via the mapped drive letter (e.g.   V:\SVNwork\myFolder\TestWeb)</p>
  
  <p>Visual Studio 2005 models this as a "web site" (not a "web application project"). </p>
  
  <p>The remainder of this post describes some background about why I am trying this: </p>
  
  <p>We tend to recreate the web site on our dev PC's which run IIS 5.1 on Win XP. Movement of new stuff into production can be awkward using WinDiff and copying files as needed. </p>
  
  <p>I'm trying to implement source control over this work. I've had a heck of a time trying to configure Visual SourceSafe 2005 and local IIS to work together smoothly (interestingly, I had pretty good luck putting "web application projects" under VSS2005 so I think it's related to the awkwardness of the ASP.NET 2.0 "site" model and VSS). </p>
  
  <p>Anyway, I've moved a development version of this classic ASP and ASP.NET to a common file server in our LAN. Before placing this under Subversion control as a working copy of it's equivalent imported into a repository, I just want to make sure it can work with the Cassini web server. That's where I am stuck. The ultimate goal is have this under SVN and view differences with TortoiseSVN. </p>
  
  <p>Thanks for reading this far...hopefully someone can get me past this error and then I can move forward with the SVN and TortoiseSVN work. </p>