Error "413 Request Entity Too Large" when connecting to a WCF service.
Increase maxReceivedMessageSize and readerQuotas to resolve the error. Below is an example:
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding maxReceivedMessageSize="10485760">
<readerQuotas maxDepth="32" maxBytesPerRead="200000000" maxArrayLength="200000000" maxStringContentLength="200000000" />
</binding>
</basicHttpBinding>
</bindings>
</system.serviceModel>