This error occurs, when the target service is configured for reliable messaging and the client not.
To configure the service or client for enabling of reliable message two approaches can be used: Programmatically or by using of configuration. Following code snippets show how to do that:
Programattically:
((WSHttpBinding)sh.Description.Endpoints[0].Binding).ReliableSession.Enabled = true;
((WSHttpBinding)sh.Description.Endpoints[0].Binding).ReliableSession.InactivityTimeout = TimeSpan.FromSeconds(10);
((WSHttpBinding)sh.Description.Endpoints[0].Binding).ReliableSession.Ordered = true;
By using of configuration:
<reliableSession enabled="true" ordered=”true” incactivityTimeout="00:00:10"></reliableSession>