Solved: The remote server returned an error: (413) Request Entity Too Large in WCF Service.
Views (1933)
Hi,
Recently created a WCF Service to be used for file upload.
Was getting the below error for large file

Setting the binding in the following manner fixed the issue
<bindings> <basicHttpBinding> <binding maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647"> <readerQuotas maxDepth="32" maxArrayLength="2147483647" maxStringContentLength="2147483647"/> </binding> </basicHttpBinding> </bindings>

Hope it helps..
Filed under: WCF Tagged: WCF
This was originally posted here.

Like
Report
*This post is locked for comments