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

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

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 :

wshttpBinding

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

editConfigFile

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.

If you like my article, think to buy my annual book, professionally edited by a proofreader. directly from me or on Amazon. I also wrote a TypeScript book called Holistic TypeScript

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.