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程序時就會看到具體的錯誤了,然后再根據錯誤提示進行相應的修改即可。 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM