title: Quota Max Message Size exceded (default 65536)
body: <p>I am gettting each time I exceded the maximum quota size and that I have to use MaxReceivedMessageSize to increase it because as you know by default is 65536 bytes.</p>
  
  <p>In my web.config I think it is right when I increase that property but I don't know why i am recieve yet that error message.</p>
  
  <p>I was reading in similar errors here in stackoverflow and I was testing that examples but i didnt get the solution.</p>
  
  <p>The wcf is workingif I don't exceded 65536 bytes.</p>
  
  <p>My web.config is:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;appSettings&gt;
      &lt;add key="connection" value="Server=localhost;Port=3306;Database=david;Uid=root;Pwd=root;"/&gt;
      &lt;add key="uploads" value="C:\Users\DMR\Google Drive\DESARROLLO\PHP\android\contents\img\uploads\"/&gt;
    &lt;/appSettings&gt;
  
    &lt;system.serviceModel&gt;
      &lt;services&gt;
        &lt;service behaviorConfiguration="ServiceBehavior" name="Android.Android"&gt;
          &lt;endpoint address="" binding="basicHttpBinding" bindingConfiguration="basicHttpBinding" contract="Android.IAndroid"/&gt;
          &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/&gt;
        &lt;/service&gt;
      &lt;/services&gt;
  
      &lt;bindings&gt;
        &lt;basicHttpBinding&gt;
          &lt;binding name="basicHttpBinding" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" closeTimeout="01:50:00" openTimeout="01:50:00" sendTimeout="01:50:00" receiveTimeout="01:50:00" &gt;
            &lt;readerQuotas maxDepth="128" maxStringContentLength="8388608" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
          &lt;/binding&gt;
        &lt;/basicHttpBinding&gt;
      &lt;/bindings&gt;
  
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior name="ServiceBehavior"&gt;
            &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt;
            &lt;serviceMetadata httpGetEnabled="true"/&gt;
            &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
            &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt;
            &lt;dataContractSerializer ignoreExtensionDataObject="false" maxItemsInObjectGraph="2147483646" /&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
  
      &lt;/behaviors&gt;
    &lt;/system.serviceModel&gt;
    &lt;system.web&gt;
      &lt;compilation debug="true"/&gt;
    &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>How can I increase the quota to the max?</p>
  
  <p>What is wrong in my <code>web.config</code></p>