Patrick Desjardins Blog
Patrick Desjardins picture from a conference

WCF The maximum message size quota for incoming messages (65536) has been exceeded.

Posted on: 2013-07-08

WCF The maximum message size quota for incoming messages (65536) has been exceeded.

This is because the MaxReceivedMessageSize is set by default to 65536 and that you are returning more than that. Most WCF Client let you edit this property :

Even the WCFTestClient let you edit the size. You just need to right client on Config File, then you select Edit With SvcConfigEditor.

From here, you need to open the Bindings folder (of SvcConfiEditor) and to change to MaxReceivedMessageSize to something more related to the kind of size you are expected to receive.