I hate it when error messages have error messages. I got the error you can see in the screenshot below.

I closed the blank pop-up window over 50 times before I finally opened task manager and killed the instance of IE. After restarting IE I was able to get to the site and complete my work so it was a transient error.
The worst part of these errors is that it is difficult if not impossible to test all of the error handlers in all the ways that they will encounter problems in the real world. As a developer you might try opening the page, shutting down the web server, and then trying a postback. I would say that should be a normal test although to be honest I have usually done the test once and then did a copy/paste on the error handler so I didn’t test each one individually. The bigger problem come in when the error might occur half way through a response. If I get part of the javascript but not all of it there might be strange, spurious errors that would be very difficult if not impossible to test for.
I guess I don’t have a good answer on how to handle these problems but if someone does please add a comment and share how I we can all make our code better.