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

73 views Asked by At

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

ERROR IMAGE

1

There are 1 answers

1
Jiayao On

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>