“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.”
The config file already had a bindingConfiguration specified for the endpoint that had a maxReceivedMessageSize=”67108864″ attribute. But it still wasn’t making a difference.
Fix: In the end it turned out that it was the <service name=”MyService”> element that was incorrect, it should have been fully qualified to the class name of the service, i.e. – <service name=”MyNamespace.MyService”> without this it was basically ignoring this configuration and falling back to default of 65536 max message size.