I’ve been getting a strange exception lately from my automatic ASP.NET e-mail exception logging service. It sends me this exception:

The remote host closed the connection. The error code is 0x80072746.
   at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async)
   at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal)
   at System.Web.Hosting.ISAPIWorkerRequest.FlushResponse(Boolean finalFlush)
   at System.Web.HttpResponse.Flush(Boolean finalFlush)
   at System.Web.HttpResponse.Flush()
   at StripHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

This exception is not visible to the visitors of the website. It all happens behind the scenes. For some reason the ISAPIWorkerRequestInProcForIIS6 class is totally undocumented on MSDN and a Google search didn’t find anything about it either. It appears that this class does not exist. If you have any idea about this strange exception, please let me know.

I just stumbled upon the new Consolas Font Pack that Microsoft recently released. The font was created specifically for ClearType screens, making it much more pleasant to read text on you monitor. I think it was intentionally designed for Windows Vista.

The font pack also installs the Consolas font into Visual Studio 2005 by default, and I have to say I’m impressed. It’s much more pleasant to look at your code with this new font, although it is a bit far from the original font used in VS 2005. But you’ll get used to it in no time.

Here’s a screenshot of some example C# code in Visual Studio with Consolas so you can judge for yourself.

Updated april 6th.
I've been using this font in Visual Studio for a couple of days now, and it is really great. I can feel that my eyes are more relaxed when looking at Consolas than they were before. If you sit in front of VS all day long as I do, this is great news for your eyes. I recommend it to everyone using Visual Studio.