IIS7 IIS8上面运行 ASP

要在IIS上面运行传统的ASP程序,需要做一些处理。

 

1) 安装IIS中ASP的组件。

参考官网向导:http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis 
 

2) 运行时出现如下错误:

An error occurred on the server when processing the URL. Please contact the system administrator.  

If you are the system administrator please click "http://go.microsoft.com/fwlink/?LinkID=82731 to find out more about this error.

 

解决办法参考:http://www.htmer.com/article/599.htm 
  1、打开控制面板→管理工具→Internet 信息服务(IIS)管理器→双击“ASP”图标.

 2、在左边的窗口中找到你的网站,然后在右边的窗口中展开“调试属性”,把“将错误发送到浏览器”设为True即可 。

Debugging Properties -> Send Error to Browser, Behavior -> Enable Parent Paths. 

此时你再运行ASP程序时就会看到具体的错误了,然后再根据错误提示进行相应的修改即可。 

 

 

posted @ 2012-10-24 10:39  See Me Fly  阅读(8558)  评论(0编辑  收藏  举报