国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > .NET > 正文

最常見的ASP.NET錯誤提示解決

2024-07-10 13:04:50
字體:
來源:轉載
供稿:網友

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 應用程序根目錄下的“web.config”配置文件中創建一個 <customerrors> 標記。然后應將此 <customerrors> 標記的“mode”屬性設置為“remoteonly”。若要使他人能夠在遠程計算機上查看詳細信息,請將“mode”設置為“off”。

<!-- web.config configuration file -->

<configuration>
    <system.web>
        <customerrors mode="off"/>
    </system.web>
</configuration>

notes: the current error page you are seeing can be replaced by a custom error page by modifying the "defaultredirect" attribute of the application's <customerrors> configuration tag to point to a custom error page url.
注釋: 通過修改應用程序的 <customerrors> 配置標記的“defaultredirect”屬性,使之指向自定義錯誤頁的 url,可以用自定義錯誤頁替換所看到的當前錯誤頁。

<!-- web.config configuration file -->

<configuration>
    <system.web>
        <customerrors mode="remoteonly" defaultredirect="mycustompage.htm"/>
    </system.web>
</configuration>

最大的網站源碼資源下載站,

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 陆河县| 田阳县| 中方县| 东莞市| 任丘市| 治县。| 定安县| 芜湖县| 宜阳县| 澄迈县| 中方县| 新沂市| 通河县| 扎赉特旗| 肥西县| 和政县| 宣威市| 柳江县| 安丘市| 墨竹工卡县| 十堰市| 松桃| 分宜县| 凤冈县| 花莲市| 平原县| 济源市| 连云港市| 铅山县| 明水县| 北辰区| 山西省| 瑞丽市| 绥宁县| 偏关县| 美姑县| 合水县| 历史| 陇川县| 平远县| 江山市|