title: POST Large files to RESTFUL WCF Service
body: <p>I am using a WCF Restful service to upload some large pdf documents to server.
  The code that I have written works fine for images upto 5mbs.But when I am sending images for than 5, I am getting error from server.The error will be sometimes a internal server error, or operation timeout or Entity too large.
  <strong>I have googled and also included all the changes in different fixes in stackoverflow and in other sites still its not working</strong>.Somebody please help me in solving.I have included all the below changes in web.config file:-</p>
  
  <pre><code>  &lt;httpRuntime targetFramework="4.5.2" maxRequestLength="2147483647" executionTimeout="4800"/&gt;
  
  
   &lt;webHttp helpEnabled="true"/&gt;
  
    &lt;binding name="webBinding" transferMode="Streamed"
               closeTimeout="00:04:00" openTimeout="00:04:00"
               receiveTimeout="00:04:00" sendTimeout="00:05:00"
               maxBufferSize="2147483647" maxBufferPoolSize="2147483647"
               maxReceivedMessageSize="2147483647"&gt;
        &lt;readerQuotas  maxDepth="2147483647"
                           maxStringContentLength="2147483647"
                           maxArrayLength="2147483647"
                           maxBytesPerRead="2147483647"
                           maxNameTableCharCount="2147483647"/&gt;
      &lt;/binding&gt;
  
  
  
    &lt;system.webServer&gt;    
  &lt;serverRuntime uploadReadAheadSize="2147483647" /&gt;
  &lt;security&gt;
    &lt;requestFiltering&gt;
      &lt;requestLimits maxAllowedContentLength="2147483647"&gt;&lt;/requestLimits&gt;
    &lt;/requestFiltering&gt;
  &lt;/security&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>  &lt;service name="SunTrust.CMF.SupportService.V1.SupportService"&gt;
      &lt;endpoint binding="webHttpBinding" behaviorConfiguration="web" bindingConfiguration="webBinding" contract="SunTrust.CMF.SupportService.V1.ISupportService"/&gt;
    &lt;/service&gt;  
  </code></pre>
  
  <p>Even with all these changes its not working.    </p>