asp网站在iis7上配制后打不开!在官网看到的结果

来源:互联网 发布:cassandra数据库下载 编辑:程序博客网 时间:2024/06/06 09:17

在自己的服务器上运行IIS而不是在云端运行IIS的挑战之一是您需要手动安装所需的组件,有时可能会很难弄清楚需要安装哪些组件来获取所需的功能。例如,在IIS中,默认情况下不安装经典版本的ASP。因此,当您尝试浏览到服务器上的ASP页面时,您可能会看到HTTP 404错误,或者您可能会在浏览器窗口中看到ASP页面的源代码。当没有安装用于定义经典ASP的环境的配置设置时,会创建这两个错误条件。

要在Web服务器上支持和配置ASP应用程序,必须安装ASP模块。要在IIS上安装ASP模块,请对您的Windows版本使用以下步骤。

官方链接:https://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis

(谷歌浏览器打开)


还搜到一篇文章

http://blog.csdn.net/yuhaibin168/article/details/7497050

解决IIS7中出现An error occurred on the server when processing the URL错误提示的方法前提在ie选项中去掉  显示友好HTTP页面信息在IIS7上调试程序时,如果程序有错误,默认情况下,会提示:An error occurred on the server when processing the URL. Please contact the system administrator.在IIS7上调试程序时,如果程序有错误,默认情况下,会提示:An error occurred on the server when processing the URL. Please contact the system administrator.If you are the system administrator please click here to find out more about this error. 其实这是IIS7对ASP程序发送的一个脚本错误信息,只要是程序中有错误,就会出现这样的提示。下面的方法是将具体的错误信息显示出来。一、打开 Internet 信息服务(IIS)管理器。点击出错的站点,并双击右边的ASP图标,如下图所示: 二、展开右侧配置中的“调试属性”,把“将错误发送到浏览器”的值设为 "true",如图所示: 题外话:一般ASP程序中,建议将启用父路径设为True,



解决

最后是根据http://blog.csdn.net/yuhaibin168/article/details/7497050这篇文章解决的,我重新写一下!



切记!!! 一定要点击应用

如果你想要得到明确的IIS报错


0 0
原创粉丝点击