Hello,
I posted this yesterday to the NG but there is no answer. Posting it again
hoping it may catch someone attention.
Thanks,
/m
-------------
[color=blue]
> Hello,
>
> Every now and then my application throw this exception:
>
> "Unable to read data from the transport connection"
>
> And when I break into the Visual Studio, the thread where it failed has[/color]
none[color=blue]
> of my code and the following is the call stack:
>
>
> system.dll!Syst em.Net.Connecti on.ReadCallback (System.IAsyncR esult
> asyncResult = {System.Net.Soc kets.Overlapped AsyncResult}) + 0x37d bytes
>
>
>
> system.dll!Syst em.Net.LazyAsyn cResult.InvokeC allback() + 0x27 bytes
>
>
>
> system.dll!Syst em.Net.LazyAsyn cResult.InvokeC allback(bool
> completedSynchr onously = false, System.Object result = {0}) + 0x23 bytes
>
>
>
>[/color]
system.dll!Syst em.Net.Sockets. OverlappedAsync Result.Completi onPortCallback( u[color=blue]
> int errorCode = 10038, uint numBytes = 0,[/color]
System.Threadin g.NativeOverlap ped*[color=blue]
> nativeOverlappe d = 220220032) + 0xf2 bytes[/color]
While in the console I saw this exception:[color=blue]
>
>
> Question is how do I know *where* exactly in my code that cause this
> exception? I really don't know what trigger this (apart from from probably
> in the Net connection, I do open a number of them and tried to close all
> properly). I put all the Net connection in try catch block but none really
> shows any problem.
>
> Help, I'm stumped on this one.
>
> thanks,
>
> /m[/color]
I posted this yesterday to the NG but there is no answer. Posting it again
hoping it may catch someone attention.
Thanks,
/m
-------------
[color=blue]
> Hello,
>
> Every now and then my application throw this exception:
>
> "Unable to read data from the transport connection"
>
> And when I break into the Visual Studio, the thread where it failed has[/color]
none[color=blue]
> of my code and the following is the call stack:
>
>
> system.dll!Syst em.Net.Connecti on.ReadCallback (System.IAsyncR esult
> asyncResult = {System.Net.Soc kets.Overlapped AsyncResult}) + 0x37d bytes
>
>
>
> system.dll!Syst em.Net.LazyAsyn cResult.InvokeC allback() + 0x27 bytes
>
>
>
> system.dll!Syst em.Net.LazyAsyn cResult.InvokeC allback(bool
> completedSynchr onously = false, System.Object result = {0}) + 0x23 bytes
>
>
>
>[/color]
system.dll!Syst em.Net.Sockets. OverlappedAsync Result.Completi onPortCallback( u[color=blue]
> int errorCode = 10038, uint numBytes = 0,[/color]
System.Threadin g.NativeOverlap ped*[color=blue]
> nativeOverlappe d = 220220032) + 0xf2 bytes[/color]
While in the console I saw this exception:[color=blue]
>
>
> Question is how do I know *where* exactly in my code that cause this
> exception? I really don't know what trigger this (apart from from probably
> in the Net connection, I do open a number of them and tried to close all
> properly). I put all the Net connection in try catch block but none really
> shows any problem.
>
> Help, I'm stumped on this one.
>
> thanks,
>
> /m[/color]