Monday, October 9, 2006

ASP.NET 2.0 : Server hangups

While testing a new site I ran into a very annoying problem. The site kept locking up after something bad happened. I was unable to figure out exactly what was going on but this post gave me the golden tip. It describes how asserts (which I use for trapping potential errors during development) can cause the IIS worker process to hang(!) because they pop-up a dialog on the server. I've implemented the solution and it looks like the problem is solved. For future reference this is the fix:
      <assert logfilename="c:\log.txt" assertuienabled="false">
Serves me right though for running debug builds on a production server... :(

No comments: