IIS HTTP错误403.1 - 禁止:拒绝执行访问 [英] IIS HTTP Error 403.1 - Forbidden: Execute access is denied

查看:1346
本文介绍了IIS HTTP错误403.1 - 禁止:拒绝执行访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对IIS 6 / Windows Server 2003中运行ASP.NET 1.1应用程序。
这是我们的应用程序,但我们正在努力专门复制客户的安装,这样的应用程序文件夹已被从他们的生产服务器完全复制到我们的测试机,然后我们已经为IIS虚拟目录和Web应用程序手动。

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.

Internet信息服务(IIS)管理器:

Internet Information Services (IIS) Manager:


  • 应用程序池

  • 网站

    • 默认Web站点

      • XXXXX(虚拟目录)

        • YYYYY(Web应用程序)

        我的问题是,当我们访问应用程序,我们得到标准的IIS安全性的错误信息:

        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)
        

        现在,这是pretty标准,但据我可以看到它的不可以东西这么简单。

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

        我已经检查:


        • IIS用户有读取权​​限的目录

        • IIS用户和网络服务的用户已经阅读到Temporary ASP.NET Files文件夹/写访问

        • 虚拟目录设置为ASP.NET的正确版本

        • ASP.NET 1.1 Web服务扩展允许

        • 虚拟目录具有文件扩展名映射正确和所有动词的ASPNET 1.1 DLL

        • 虚拟目录属性允许脚本和可执行文件来运行

        • 匿名访问已打开并且用户名和密码是否正确

        我是什么失踪?

        推荐答案

        当你没有创建IIS应用程序你检查允许脚本执行?您需要打开两个第一选择上,以执行从该应用程序任何东西,包括您所做的虚拟目录。

        When you did create an application on IIS did you check allow script execution ? You need to turn two first choices on in order to execute anything from this application including virtual directory you have made.

        这是父应用程序>主目录选项卡>设置为脚本执行权限只有...

        Right click on parent application > Home Directory tab > Executive Permissions set to Scripts only...

        这篇关于IIS HTTP错误403.1 - 禁止:拒绝执行访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆