"Maximum string content length quota (8192) has been exceeded" when invoking a simple ASMX webservice RRS feed

  • Question

  • User1950783606 posted

    I'm using an ASMX webservice which returns response as string.

    My client application (VS 2010) throwing below error when i try to get a response from ASMX webservice

     "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".

    But same ASMX webservice is working fine when I test from my client application which is developed is VS 2005. It looks like there is no issue in the ASMX webservice and some setting needs to be done at client application end.

    Kindly help me to resolve this issue.



    Wednesday, March 13, 2013 12:06 PM


All replies