REceiving this error when trying to bring some customer data over from the server. I have changed the MaxReceivedMessageSize on the server side. I need to know how to do it on the client in the code. Here is my binding code.
Code:
SMC.Binding binding = VServerClient.CreateDefaultBinding();
String remoteAddress = VServerClient.EndpointAddress.Uri.ToString();
remoteAddress = remoteAddress.Replace("localhost", strIP);
EndpointAddress endpoint = new EndpointAddress(remoteAddress);
VServerClient client = new VServerClient(binding, endpoint);
I have this at the top of the code
Code:
using SMC = System.ServiceModel.Channels;
And this is the error
Code:
"The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize
Any help is appreciated.