Recently i got this exception when i work with WCF service. One of the Web Method returns heavy data.It is not an issue. The problem hear is maxReceivedMessageSize is exceeded .
The Default value of maxReceivedMessageSize is "65536". We can change this value upto "2147483647".I have increased the size of maxBufferSize,maxReceivedMessageSize in Web.config file (Binding section).
The problem got resolved .
Note: Don’t copy all the code .Only change the maxBufferSize,maxReceivedMessageSize as I specified in below .
Happy coding ..