IIS HTTP Error 403.1 - Forbidden: Execute access is denied

Posted by coxymla on Stack Overflow See other posts from Stack Overflow or by coxymla
Published on 2010-06-01T02:18:17Z Indexed on 2010/06/01 2:23 UTC
Read the original article Hit count: 896

Filed under:
|

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.

The problem I have is that when we access the app, we get the standard IIS security error message:

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)

Now this is pretty standard, except as far as I can see it's not anything so simple.

I have checked:

  • IIS user has read access to the directory
  • IIS user and Network Service users have read/write access to the Temporary ASP.NET Files folder
  • Virtual directory is set to the correct version of ASP.NET
  • ASP.NET 1.1 Web Service Extension is allowed
  • Virtual directory has the correct mappings of file extensions and all verbs to the aspnet 1.1 DLL
  • Virtual directory properties allow Scripts and Executables to be run
  • Anonymous access is turned on and the username and password is correct

What am I missing?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about iis