How to increase maxReceivedMessageSize and maxBufferSize parameters in app.config file to 2000000 before running the application.
Easy solution: Check if it works for you..
Goto web.config
Find binding used by client.
change as,
maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"
Done.