Debug.Assert has locked / hung my IIS6 site - how do I bring it back?
Posted
by
George
on Server Fault
See other posts from Server Fault
or by George
Published on 2011-07-01T05:01:59Z
Indexed on
2011/07/01
8:24 UTC
Read the original article
Hit count: 276
I'm running some C# / ASP.net code on an IIS6 server.
The code has triggered a "Debug.Assert", and now my IIS6 server is not responding for this site — at least that's what I strongly suspect given that this was the cause the last time this happened.
- How do I bring the site back up? Stopping and then starting the site doesn't bring it back — I continue getting timeouts from the proxy, which I think is caused by the site itself crashing.
- How do I disable Debug.Assert permanently in production? Do I just edit the web.config:
<compilation defaultLanguage="c#" debug="false"...
— is there anything else I need to do?
© Server Fault or respective owner