WCF: The maximum string content length quota (8192) has been exceeded

Sep 24 2008 12:07 AM
I am having some problem while implementing Web Service through WCF. While I m passing value in WCF method from client application as a string (xml), getting error ….. The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:XmlEntity. The InnerException message was 'There was an error deserializing the object of type System.String. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 249, position 19.'. Please see InnerException for more details. I have tried to change the value of maxStringContentLength in client web.configuration file but error is ramains same. Kindly try to find out the solution asap.

Answers (1)