要在IIS上面運行傳統的ASP程序,需要做一些處理。
1) 安裝IIS中ASP的組件。
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程序時就會看到具體的錯誤了,然后再根據錯誤提示進行相應的修改即可。