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.
I have this at the top of the codeCode: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);
Code:using SMC = System.ServiceModel.Channels;
And this is the error
Any help is appreciated.Code:"The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize


Reply With Quote