HTTP Error 500 Internal server error on high load ASP.NET application

大城市里の小女人 提交于 2019-12-12 11:50:21

问题


I get HTTP Error 500 Internal server error on a one simple page asp.net application. There are enough resources on the server. This page is frequently requested by a large number of clients.

Is there any IIS related settings I have missed ?


回答1:


The first stop here would be to enable Failed Request Tracing:

Troubleshooting Failed Requests Using Tracing in IIS 7
Troubleshoot with Failed Request Tracing

If doesn't produce anything that narrows things down then have a trawl through the System and Application Event logs.

Finally if it's still not obvious what's failing then it's time to dig out some toys from Tess Ferrandez's debugging toolbox:

.NET Debugging Demos - Information and setup instructions

.NET Debugging Demos Lab 2: Crash

.NET Debugging Demos Lab 5: Crash

.NET Debugging - Crash Scenarios




回答2:


You need to dig down to determine the specific cause of the 500 error, be it a transient script error, resource error or a problem related to IIS's configuration.
Setup Failed Request Tracing, wait for an error and examine the log output.




回答3:


1.Close your development environment (e.g., Visual Studio .NET).
2.Open a Command Prompt, and type the following commands:
3. iisreset /stop
4.net user ASPNET /delete [ u can ignore this step if this fails]
5. aspnet_regiis -i
6. iisreset /start
7.Close the Command Prompt.
8.Restart your development environment.



来源:https://stackoverflow.com/questions/5704744/http-error-500-internal-server-error-on-high-load-asp-net-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!