我已经启用IIS上的传统的ASP支持Windows 7,并配置IIS的Web传统的ASP,但没有显示.asp页? [英] I have already enabled classic asp support on IIS for windows 7, and configured IIS web for classic asp,Yet .asp page is not being displayed?

查看:793
本文介绍了我已经启用IIS上的传统的ASP支持Windows 7,并配置IIS的Web传统的ASP,但没有显示.asp页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的.asp页被命名为MyWeb即可文件夹中,而MyWeb即可文件夹中是正在的Inetpub wwwroot文件夹下。我还添加了MIME类型在IIS管理器的.asp为application / ASP,和作为的.aspx应用/ ASPX我尝试了很长,但仍然不能正常工作。当我去打开它要求在下载IE浏览器和Mozilla Firefox中显示一个空白页面,.asp文件。请任何机构可以告诉我怎么解决这个问题呢?

ANSWER =

问题解决了我只是改变了设置在IIS管理器中设置启用父路径为true,将错误发送到浏览器真实,它发生了。 IIS的本地主机主页显示了和我的ASP脚本同时运行。


解决方案

这可能是你没有安装IIS中的经典ASP支持。要在Windows 7为此请按照下面的步骤;

如何启用IIS上的Windows 7经典ASP的支持

安装传统的ASP支持


  1. 转到控制面板 - > 程序和功能


  2. 在左侧导航栏中选择


  3. Windows功能对话框展开 Internet信息服务 - > 世界万维网服务 - > 应用程序开发功能并勾选选项 ASP 这也将剔 ISAPI扩展如果尚未选中(见图片)。


配置IIS的Web传统的ASP


  1. 打开管理​​工具 - > Internet信息服务(IIS)管理器,然后选择你想要的网站配置。


  2. 功能视图 IIS 部分选择处理程序映射检查出现指向 *。ASP 如果不存在选择添加脚本映射处理程序的现有映射列表从右手导航栏。


  3. 在选项按下面的图片填写


      

    重要提示如果使用64位和希望启用32位支持,你可能希望使用32位等效ISAPI DLL。请参见迪的答案如何启用ASP经典的IIS7.5



  4. 选择了请求限制键打开请求限制对话框。三个图像下面详细如果尚未设置应配置的值。


My .asp page is in the folder named "MyWeb", and "MyWeb" folder is under wwwroot folder which is under inetpub. I also added MIME types in IIS Manager for .asp as application/asp, and for .aspx as application/aspx I tried it a long but still it is not working. When I go to open that .asp file it is asking for download in IE browser and displaying a blank page in Mozilla Firefox. Please can any body tell me how to solve this issue?

ANSWER=

Issue solved I just changed the setting in IIS Manager set Enable Parent Paths to true and Send Errors To Browser to true and it happened. Localhost Home Page of IIS was displayed and my asp scripts are also running.

解决方案

It possible that you haven't got Classic ASP support installed in IIS. To do this in Windows 7 follow the steps below;

How to enable Classic ASP support on IIS for Windows 7

Installing Classic ASP support

  1. Goto Control Panel -> Programs and Features

  2. Select from the left navigation bar

  3. From the Windows Features dialog expand Internet Information Services -> World Wide Web Services -> Application Development Features and tick the option ASP this will also tick ISAPI Extensions if not already ticked (see image).

Configuring IIS Web for Classic ASP

  1. Open Administrative Tools -> Internet Information Services (IIS) Manager and select the website you wish to configure.

  2. In Features View under the IIS section select Handler Mappings check the existing mappings list that appears for a handler that points to *.asp if one doesn't exist select Add Script Map from the right hand navigation bar.

  3. Fill in the options as per the below image

    IMPORTANT If using 64-bit and want to enable 32-bit support you may wish to use the 32 bit equivalent ISAPI DLL. See Dee's answer to How to enable ASP classic in IIS7.5

  4. Select the Request Restrictions button to open Request Restrictions dialog. The three images below detail the values that should be configured if not already set.

这篇关于我已经启用IIS上的传统的ASP支持Windows 7,并配置IIS的Web传统的ASP,但没有显示.asp页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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