国产探花免费观看_亚洲丰满少妇自慰呻吟_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>

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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 阳西县| 白水县| 岳阳市| 同仁县| 盘锦市| 南涧| 乌兰察布市| 枝江市| 鄂托克前旗| 德令哈市| 韩城市| 远安县| 德惠市| 宁明县| 汉川市| 雅江县| 昌乐县| 宁德市| 温泉县| 会昌县| 依安县| 贵定县| 黎城县| 资溪县| 高要市| 阳谷县| 阿巴嘎旗| 广宗县| 竹山县| 鹤壁市| 莱阳市| 清涧县| 长葛市| 定兴县| 鲁山县| 青河县| 永德县| 忻城县| 嘉禾县| 丹棱县| 大渡口区|