413 Request Entity Too Large when connecting to a WCF service
Published Feb 08 2019 03:37 PM 9,470 Views
Microsoft

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>

2 Comments
Version history
Last update:
‎Feb 08 2019 03:37 PM
Updated by: