Streamed transfer + netTcpBinding = framing mode not supported?

Can anybody explain what this error means:

The .Net Framing mode being used is not supported by blah blah yadda

I can't find any info worthwhile. The exception says to check the server logs, however I can't find anything in them relating to this error. I don't know what the hell a "framing mode" is, otherwise I'd try different framing modes.

What I'm trying to do is to create a TCP WCF endpoint to send a Stream to the client.


Here's the interface (prototyping):

[ServiceContract]
public interface IXpsService
{
    [OperationContract]
    Stream GetCurrentDocument();
}

Answers


One of the ways this error occurs is if there is a mismatch in the configuration of the client and the server.

The default is buffered, if one is set to streaming, when they try to talk to each other you get a framing error.

It thinks that each batch of data that the buffered tries to send over is a frame.


Need Your Help

List of big-O analysis for Python datastructures

python performance data-structures

Is there a list of the different data structures and their big-O access times for Python?

React-Native Invariant Violation: Element type is invalid

javascript android ios reactjs react-native

When I going to run my react native app on my iPhone Expo this error displayed in red background area.