如何启用ASP经典IIS7.5中 [英] How to enable ASP classic in IIS7.5

查看:461
本文介绍了如何启用ASP经典IIS7.5中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行IIS在Windows 7和7.5已经进入了启用Windows功能打开或关闭,并在Internet信息服务/ World Wide Web服务/应用程序开发功能启用ASP。有一次,我这样做,我开始一个HTTP 404错误说:

I am running IIS 7.5 in Windows 7 and have already gone into "Turn Windows features on or off" and enabled ASP in "Internet Information Services/World Wide Web Service/application Development Features". Once I did that I started getting an HTTP 404 error saying:

您请求的页面无法提供服务,因为扩展的结果
  组态。如果页面是一个脚本,添加处理程序。如果该文件应搜索
  下载,添加MIME映射。

The page you are requesting cannot be served because of the extension
configuration. If the page is a script, add a handler. If the file should be
downloaded, add a MIME map.

所以我把这个意思,我需要添加一个映射*在处理器映射的.asp和处理程序映射到C:\\ WINDOWS \\ SYSTEM32 \\ INETSRV \\ ASP.DLL。但是,当我尝试加载网页,我收到了服务器错误说法:

So I took this to mean that I needed to add a mapping to *.asp in the Handler mappings and the handler is mapped to C:\Windows\System32\inetsrv\asp.dll. But when I try to load the page I get a server error saying:

未能加载类型。C:\\ WINDOWS \\ SYSTEM32 \\ INETSRV \\ ASP.DLL

Could not load type 'C:\Windows\system32\inetsrv\asp.dll'.

有谁知道是怎么回事就在这里或如何处理?

Does anyone know what is going on here or how to handle this?

我要提到的另一件事是,我已经启用32位应用程序在我的应用程序池,并设置ASP来将错误发送到浏览器,但没有这些事情已经解决了问题或给了我更多的信息。

One other thing I should mention is that I have already enabled 32-Bit application in my Application pool and set ASP to send errors to browser, but neither of those things has resolved the issue or given me more information.

请注意,这是ASP经典不是ASP.NET,ASP.NET工作就好了我。

Please note this is ASP Classic not ASP.NET, ASP.NET is working just fine for me.

推荐答案


  • 去控制面板

  • 单击程序功能

  • 打开的窗户和关闭

  • 去上网服务

  • 在万维网服务检查asp.net和其他

点击OK,你的网站将正常加载。

Click ok and your web sites will load properly.

这篇关于如何启用ASP经典IIS7.5中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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