Sreenath_KG
Sreenath_KG

Reputation: 3

The maximum message size quota for incoming messages (65536) has been exceeded - set maxReceivedMessageSize="2147483647" updated but not working

added maximum size on web config, but still showing the same error.

ERROR IMAGE

Upvotes: 0

Views: 186

Answers (1)

Jiayao
Jiayao

Reputation: 568

You need to set maxReceivedMessageSize both in your server-side and client-side. The code like this:

<system.serviceModel>
    <bindings>
        <basicHttpBinding>
            <binding maxBufferSize="64000000" maxReceivedMessageSize="2147483647" />
        </basicHttpBinding>
    </bindings>
</system.serviceModel>

Upvotes: 0

Related Questions