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

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

问题描述

我在 Windows 7 中运行 IIS 7.5,并且已经进入打开或关闭 Windows 功能"并在Internet 信息服务/万维网服务/应用程序开发功能"中启用了 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:WindowsSystem32inetsrvasp.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:WindowsSystem32inetsrvasp.dll. But when I try to load the page I get a server error saying:

无法加载类型C:Windowssystem32inetsrvasp.dll".

Could not load type 'C:Windowssystem32inetsrvasp.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 Classic 而不是 ASP.NET,ASP.NET 对我来说工作得很好.

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

推荐答案

  • 转到控制面板
  • 点击程序功能
  • 打开和关闭窗口
  • 访问互联网服务
  • 在万维网服务下检查 asp.net 和其他
  • 点击确定,您的网站将正确加载.

    Click ok and your web sites will load properly.

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

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