国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

Server Error in / Application的幾種解決方法

2017-01-15 02:43:10 6806

原因1:運(yùn)行時錯誤,說明:服務(wù)器上出現(xiàn)應(yīng)?程序錯誤,此應(yīng)用程序的當(dāng)前自定義錯誤設(shè)置禁止遠(yuǎn)程查看應(yīng)用程序錯誤的詳細(xì)信息。

解決: 可以通過在IIS中開啟詳細(xì)錯誤查看,還可以修改web.config文件,將<customErrors mode="Off"/>設(shè)置mode ="Off",然后刷新就可以看到?細(xì)錯誤,再根據(jù)詳細(xì)錯誤去解決問題。


原因2:網(wǎng)站根目錄下沒有web.config文件,也可能是因為網(wǎng)站真正的目錄不對。

解決:將網(wǎng)站文件放到正確的根目錄下。


原因3. Asp.Net 程序顯示錯誤如下:

Server Error in '/' Application. Runtime Error Description An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off"

解決:檢查web.config是否合格,排查其中的問題。


原因4asp.net版本問題,asp.netasp.net2.0 asp.net4.0兩個版本。

解決:按照程序要求在程序池中切換合適的asp版本和托管方式。


原因5:網(wǎng)站目錄權(quán)限設(shè)置不正確。

解決:根據(jù)網(wǎng)站的身份驗證>匿名身份驗證的規(guī)則和應(yīng)用程序池的身份標(biāo)識設(shè)置,為網(wǎng)站目錄設(shè)置正確的權(quán)限即可。


提交成功!非常感謝您的反饋,我們會繼續(xù)努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問題: