Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recover from
Message
 
To
08/09/2011 13:10:14
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Windows Communication Foundation (WCF)
Title:
Miscellaneous
Thread ID:
01523035
Message ID:
01523088
Views:
52
>Hi all,
>
>If a Service call results in an exception because the connection is closed, (see below) does the binding and endpoint all need to be build again before a retry can be made? I could probably test this, but would have to write a bunch of code to find out and cause the failure. I was hoping someone knew the answer. Just wondering if the proxy is toast after this failure.
>
>
>09/07/11 10:48:46|dlewis5|342560768|An existing connection was forcibly closed by the remote host in System
>Stack trace:
>   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
>   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
>Call stack:
>   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
>   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
>
>
I'm pretty sure that's what I've always assumed in my code - once it has faulted I clear any references I'm holding to the proxy and instanciate a new one.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform