We are working in a application whose technologies are Flex 4.0 and .Net 2010.
We are using .Net WCF Service for interacting with backend from the Flex front end. We have developed a service for sending an email in .Net.
We don't face issue (basically for a new email) if we send a email with length less than 8192. Whenever we are trying to reply or forward a email, where the existing email thread is maintained, we are getting the following error,
"There was an error deserializing the object of type EPro.ElderSpin.DataObjects.Email. 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"
If both are of .Net, then we can provide the configuration in the web.config (of server and client), where as here, in .Net Service, we have updated the size as follows,
2. maxBufferSize="2097152" and
But we dont know, how to update the same in the Flex side, as we don't see a system configuration file that has these information.
Note: Even after updating the size in the Server side (.Net WCF), we are facing the same issue.
Please let us know if any one has solution for the same.