Reputation: 3
added maximum size on web config, but still showing the same error.
Upvotes: 0
Views: 186
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