Wednesday, 23 July 2014


Share/Bookmark
Introduction

Here we will see how to fix the exception, the .Net Framing mode being used is not supported by 'net.tcp://....' See the server logs for more details.


How to fix this exception

The .Net Framing mode being used is not supported by 'net.tcp://....' See the server logs for more details.

This exception occurs when we change the TransferMode of tcp communication either at service side or client side to Streamed and the other side still uses the default mode which is Buffered.

The TCP three way handshake protocols use a Framing mode to transfer packets by default. When we change this behaviour, we have to make sure that the communication happens properly between client and server. If you use Streamed mode then the system expects the communication happens to and fro from service as streamed. If you are not indented to use so and you want only client to stream message and server to behave default then you can use TransferMode.StreamedRequest or TransferMode.StreamedResponse.
Categories:

0 comments:

Post a Comment

Dear reader, Your comment is always appreciated. I will reply to your queries as soon as possible.

1. Make sure to click on the Subscribe By Email link to be notified of follow up comments and replies. Or you can use Subscribe to: Post Comments (Atom) link.
2. Only English comments shall be approved.
3. Please make your comments self-explanatory. Comment in such a way that it explains the comment so that a counter question can be avoided and can be replied with proper answer on the first go.