I can't figure this out. I have several references to style sheets and
javascript files in my page header, the contents of which are served
dynamically by my httphandler that serves *.res requests. The handler works
most of the time, but occasionally the page load hangs on the loading of the
last .res reference for a javascript file (Fiddler shows me this), and when
I stop the load in the browser, I get this error message:
A first chance exception of type 'System.Net.Sockets.SocketException'
occurred in System.dll
This is not something that is trappable in my HttpRequestHandler. Also, it
doesn't seem to matter if my handler is synchronous or asynchronous.
I don't even know how to troubleshoot this since I can't trap it in my own
code, and Google isn't helpful. Help?
Paul
bruce barker - 26 Jul 2007 17:47 GMT
when you stop the load, it closes the connection which causes the error.
your code is hanging and you need to figure why.
-- bruce (sqlwork.com)
> I can't figure this out. I have several references to style sheets and
> javascript files in my page header, the contents of which are served
[quoted text clipped - 13 lines]
>
> Paul
PJ6 - 26 Jul 2007 18:51 GMT
The hanging occurs only after execution has left my handler, and I have
verified this with breakpoints. When I pause execution on the hang
condition, I only get "how disassembly". It may or may not be my code - but
again, it's not clear to me how to diagnose the problem.
Paul
> when you stop the load, it closes the connection which causes the error.
> your code is hanging and you need to figure why.
[quoted text clipped - 19 lines]
>>
>> Paul
Flinky Wisty Pomm - 26 Jul 2007 20:19 GMT
Doe this behaviour occur when Fiddler isn't running?
I only ask because I once spent days hunting for a SocketException
that was caused by Fiddler while I was tracing for another problem.
> The hanging occurs only after execution has left my handler, and I have
> verified this with breakpoints. When I pause execution on the hang
[quoted text clipped - 26 lines]
>
> >> Paul
PJ6 - 26 Jul 2007 20:42 GMT
Unfortunately yes.
Paul
> Doe this behaviour occur when Fiddler isn't running?
>
[quoted text clipped - 8 lines]
>>
>> Paul
PJ6 - 31 Jul 2007 19:10 GMT
I just discovered that IE6 on my machine has a hanging problem not limited
to my project.
I thought to test for this after it threw a BSOD at me. Time for a fresh
installation of Windows.
Paul
>I can't figure this out. I have several references to style sheets and
>javascript files in my page header, the contents of which are served
[quoted text clipped - 13 lines]
>
> Paul