Take the 2-minute tour ×

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 ?

share|improve this question
Does it crash consistently i.e. just doesn't work at all or is it intermittent? –  Kev Apr 18 '11 at 15:13
@Kev: Good question. I log errors and this HTTP 500 error happens 1-3 times a day for a fraction of seconds. –  Xaqron Apr 18 '11 at 15:44
add comment

3 Answers

up vote 1 down vote accepted

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

share|improve this answer
add comment

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer


