IIS7下An error occurred on the server when processing the URL錯(cuò)誤的解決辦法

2013-10-25 10:22:58來(lái)源:西部e網(wǎng)作者:

在IIS7上配置一個(gè)asp程序,出現(xiàn)了一個(gè)錯(cuò)如提示:An error occurred on the server when processing the URL. Please contact the system administrator.下面介紹解決辦法:

在IIS7上配置一個(gè)asp程序,出現(xiàn)了一個(gè)錯(cuò)如提示:

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.

這個(gè)問(wèn)題一般是由于關(guān)閉錯(cuò)誤調(diào)試信息的問(wèn)題,

父路徑?jīng)]有開(kāi)啟的原因:

1、點(diǎn)擊網(wǎng)站,找到“IIS”下的“ASP”;

\

2、在“調(diào)試屬性”中,將“將錯(cuò)誤發(fā)送到瀏覽器”設(shè)置成“True”,這樣如果遇到程序錯(cuò)誤,錯(cuò)誤信息就會(huì)提示在頁(yè)面上了。

3、比如:如果提示是由于父路徑未啟用,那就就開(kāi)啟父路徑。如果是其他錯(cuò)誤,就依照提示進(jìn)行程序

在“行為”里面“啟用父路徑”設(shè)置成“True”;

\

關(guān)鍵詞:IISasp