When using WCF services you may get the following error: "The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element." This error is given because of size limits set to responses in your application configuration.
You need to increase the value of two limiting parameters: maxBufferSite and maxReceivedMessageSize. In my example these values are set to 5000000.