I'm attempting to transfer some files through WCF, but as soon as the method is called from the client, I get the following message:
The socket connection was aborted. This could be caused by an error processing
your message or a receive timeout being exceeded by the remote host, or an
underlying network resource issue. Local socket timeout was '00:10:00'.
My method is wrapped in a try...catch
, so if there's anything throwing an exception from within the method on the server, it should log it to a console window, but nothing is logged. I've also tried running the server locally and setting breakpoints on the method, and the method simply doesn't seem to be getting called.
Is there a property or something that needs set on the net.tcp connection to allow streaming on the client side?