Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Error in deserializing body of reply message for operation 'GetData'. 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 195, position 93.

where and what change in config.
tell me
Posted

1 solution

Hi Chetan,

I too experience this issue, yes you are right you need to add maxBufferPoolSize="524288" in config file.
For example this is my binding service

HTML
<binding name="XXXXXXXXX" closetimeout="00:01:00"
            openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
            bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
            maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
            messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
            allowCookies="false"></binding>

Here I have increased the size.
I hope this might help you a bit.

Thanks,
RK
 
Share this answer
 
v2
Comments
chetan2020 6-Aug-13 7:08am    
Thanks
♥…ЯҠ…♥ 6-Aug-13 7:42am    
Welcome....
chetan2020 6-Aug-13 9:18am    
hi
chetan2020 6-Aug-13 9:20am    
i getting null in word doc object on server

Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Open(ref file, ref

any idea ....
♥…ЯҠ…♥ 7-Aug-13 1:24am    
Try raising new question, so that everyone can see your error and try to resolve it

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900