title: IIS HTTP Error 403.1 - Forbidden: Execute access is denied
body: <p>I have a ASP.NET 1.1 application running on IIS 6 / Windows Server 2003.
  It's our application, but we're trying to specifically replicate a customer's installation so the app folder has been copied entirely from their production server onto our test machine, and then we've created the Virtual Directory and Web Application for IIS manually.</p>
  
  <p>Internet Information Services (IIS) Manager:</p>
  
  <ul>
  <li>Application Pools</li>
  <li>Web Sites
  
  <ul>
  <li>Default Web Site
  
  <ul>
  <li>xxxxx (Virtual Directory)
  
  <ul>
  <li>yyyyy (Web Application)</li>
  </ul></li>
  </ul></li>
  </ul></li>
  <li>Web Service Extensions</li>
  </ul>
  
  <p>The problem I have is that when we access the app, we get the standard IIS security error message:</p>
  
  <pre><code>The page cannot be displayed
  You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. 
  --------------------------------------------------------------------------------
  
  Please try the following:
  
  •Contact the Web site administrator if you believe this directory should allow execute access.
  HTTP Error 403.1 - Forbidden: Execute access is denied.
  Internet Information Services (IIS)
  </code></pre>
  
  <p>Now this is pretty standard, except as far as I can see it's <strong>not</strong> anything so simple.</p>
  
  <p>I have checked:</p>
  
  <ul>
  <li>IIS user has read access to the directory</li>
  <li>IIS user and Network Service users have read/write access to the Temporary ASP.NET Files folder</li>
  <li>Virtual directory is set to the correct version of ASP.NET</li>
  <li>ASP.NET 1.1 Web Service Extension is allowed</li>
  <li>Virtual directory has the correct mappings of file extensions and all verbs to the aspnet 1.1 DLL</li>
  <li>Virtual directory properties allow Scripts and Executables to be run</li>
  <li>Anonymous access is turned on and the username and password is correct</li>
  </ul>
  
  <p>What am I missing?</p>