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

首頁 > 編程 > .NET > 正文

Asp.Net 程序錯誤Runtime Error原因與解決

2024-07-10 13:26:38
字體:
來源:轉載
供稿:網友
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 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.

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
真實原因:.net裝了以后,沒有正常注冊到iis

解決辦法:
C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/aspnet_regiis.exe -i
C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_regiis.exe -i
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 九江市| 澄城县| 罗甸县| 塔河县| 巨鹿县| 射阳县| 卢龙县| 达州市| 天门市| 富宁县| 湾仔区| 新晃| 卢龙县| 蒙阴县| 垦利县| 翁源县| 蓬莱市| 名山县| 铅山县| 宁乡县| 伊春市| 三江| 婺源县| 温宿县| 茌平县| 抚宁县| 农安县| 信宜市| 昆明市| 碌曲县| 北辰区| 闽清县| 诏安县| 平远县| 延津县| 德化县| 大新县| 蛟河市| 明水县| 凌云县| 长葛市|