w3wp.exe causing server unavaliable


I'm getting a "server unavailable" from my website
Windows Server 2003 SP1
ASP.net 2.0 Application

This is what I'm getting in the Event Viewer:-

Event Type:      Error
Event Source:      .NET Runtime 2.0 Error Reporting
Event Category:      None
Event ID:      5000
Date:            7/30/2007
Time:            4:42:35 PM
User:            N/A
Computer:      xxxxxxx
EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.1830, P3 42435be1, P4 system.web, P5, P6 461ef1d2, P7 5abd, P8 23, P9 system.web.httpexception, P10 NIL.

This is doing my head in because if I debug the site everything works like a dream. just accessing the site from a browser causes this problem. Are there any tools I can use to trap the problem.

Any help would be greatly appreciated
Who is Participating?
Dan McFaddenSystems EngineerCommented:
Your code is not handling unexpected exceptions according to MS recommendation for framework 2.0 apps.  In 1.1, the error would be ignored, now the 2.0 framework doesn't allow you to get away with the exception.  You can over-ride the IIS behavior by editing the following file:


Set this key to True:  <legacyUnhandledExceptionPolicy enabled="false" />

I would recommend an IISRESET.  Here is the MS KB Article: http://support.microsoft.com/kb/911816
check, which page you are surfing and it is giving error, check for different parameter value and loop
also check iis log, from that you may get some information

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.