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
Asp.Net 程序错误Runtime Error原因与解决
2019-07-16 21:43服务器之家 ASP.NET教程
提示这个,不管怎么改配置文件的设置都不行,下面是修正方法,大家可以试试。
延伸 · 阅读
- 2022-03-10Runtime.getRuntime().exec 路径包含空格的解决
- 2022-03-09java Runtime如何执行多条命令
- 2022-03-09java使用Runtime执行系统命令遇到的问题
- 2022-03-05Asp.Net(C#)使用oleDbConnection 连接Excel的方法
- 2022-03-03解决MySQL添加新用户-ERROR 1045 (28000)的问题
- 2022-02-24织梦DEDECMS伪静态下某些栏目显示:”Request Error!”
- ASP.NET教程
GridView分页的实现(通用分页模板)
要在GridView中加入AllowPaging=true,一页数据多少行PageSize=10分页时触发的事件OnPageIndexChanging等等,感兴趣的朋友可以了解下本文,希望对你有所帮助 ...
- ASP.NET教程
.Net MVC实现长轮询
这篇文章主要为大家详细介绍了.Net MVC实现长轮询的相关资料,具有一定的参考价值,感兴趣的小伙伴们可以参考一下 ...
- ASP.NET教程
asp.net中的窗体身份验证(最简单篇)
这篇文章主要介绍了最简单的asp.net中的窗体身份验证,详细叙述了asp.net的窗体身份验证步骤,感兴趣的小伙伴们可以参考一下 ...
- ASP.NET教程
asp.net gridview分页:第一页 下一页 1 2 3 4 上一页 最末页
这篇文章主要介绍了asp.net gridview分页:第一页 下一页 1 2 3 4 上一页 最末页,可使用上下键选中行,选中后点击修改,textbox获得gridview中的代码的数据,需要...
- ASP.NET教程
详解ASP.NET 生成二维码实例(采用ThoughtWorks.QRCode和QrCode.Net两种方
本篇文章主要介绍了ASP.NET 生成二维码实例,使用了两种方法,包括ThoughtWorks.QRCode和QrCode.Net,具有一定的参考价值,有兴趣的可以了解一下。 ...
- ASP.NET教程
微信小程序如何使用原生Websocket与Asp.Net Core SignalR 通信
背景 如题,这可能算是.net 做小程序的服务端时,绕不开的一个问题,老生常谈了。同样的问题,我记得我2018/19年的一个项目的解决方案是: 修改官方的...
- ASP.NET教程
ASP.NET OutputCache详解
这篇文章主要介绍了ASP.NET OutputCache详解,本文详细讲解了OutputCache的语法、OutputCache的参数、OutputCache使用示例等内容,需要的朋友可以参考下 ...
- ASP.NET教程
asp .net实现给图片添加图片水印方法示例
图片上加水印相信每位程序员都会遇到这个需求,下面这篇文章主要给大家介绍了asp .net实现给图片添加图片水印的方法,文中给出了完整的实例代码,相...