I am setting up a chain of WCF services to provide a data access layer supporting a business rules layer supporting the UI layer and am having trouble with setting up the bindings (using code, not a config file).
I get the following error:
Additional information: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
This is despite setting the MaxReceivedMessageSize (and, for good measure, the MaxBufferSize) to a higher value for the bindings at each level (host and client). The code I am using is shown in the attached document.
Can anyone help, please.