Asp.Net程序错误Runtime Error的解决方法

来源:爱站网时间:2021-02-06编辑:网友分享
对于Asp.Net程序错误Runtime Error这个情况很多用户们都束手无策,那么我们要怎么才能解决呢?下面我们就一起去看看Asp.Net程序错误Runtime Error的解决方法。

对于Asp.Net程序错误Runtime Error这个情况很多用户们都束手无策,那么我们要怎么才能解决呢?下面我们就一起去看看Asp.Net程序错误Runtime Error的解决方法。

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 tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".








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 configuration tag to point to a custom error page URL.







真实原因:.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

以上内容就是小编介绍Asp.Net程序错误Runtime Error的解决方法,多看资料,多练习,多来爱站技术频道!如果你喜欢本站就代为宣传吧!谢谢阅读

上一篇:asp.net URL中包含中文参数造成乱码怎么办

下一篇:ASP.NET在IIS7中上下文中不可用怎么办

您可能感兴趣的文章

相关阅读