How to increase maxReceivedMessageSize and maxBufferSize parameters in app.config file to 2000000 before running the application.
If you are using a custom binding, you can set the values like this: