在IIS7上配置一個asp程序,出現了一個錯如提示:
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.
這個問題一般是由于關閉錯誤調試信息的問題,
父路徑沒有開啟的原因:
1、點擊網站,找到“IIS”下的“ASP”;
2、在“調試屬性”中,將“將錯誤發送到瀏覽器”設置成“True”,這樣如果遇到程序錯誤,錯誤信息就會提示在頁面上了。
3、比如:如果提示是由于父路徑未啟用,那就就開啟父路徑。如果是其他錯誤,就依照提示進行程序
在“行為”里面“啟用父路徑”設置成“True”;