WCF REST Service Troubleshooting: Error "Request Entity too large"
Issue
The WCF service was used for file upload and download. While uploading the file, WCF was throwing an error "Request entity too large".
Solution
After browsing, found that the change in web.config for webhttpBinding parameter resolved the issue and it's given below
<system.serviceModel>
<bindings>
<webHttpBinding> <binding maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" transferMode="Streamed"> </binding> </webHttpBinding></bindings>