WCF/WF - MaxStringContent - Asked By vasu on 09-Nov-10 05:35 AM


Hi All ,
i am getting the error while getting the data from db
Imy service and client config file contains the below

<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"

maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />

still  am getting the fallowing error:

The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation  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.

Plz Help

Lokeshkumar replied to vasu on 07-Mar-11 11:26 AM
You can make use of the sample Application You can download from the Below Link Sample Application.zip