wcf - The maximum message size quota for incoming messages (65536) has been exceeded -


I get this exception when creating scope of some exceptions, all those tables are huge in design

  & lt; Binding & gt;   

I have stitched MaxShare Message on 2147483647 but still it is giving me the exception on this line below

  Client.GetTableDescription (scopeName, SyncBabel)   

Maximum message size quota has been exceeded for incoming messages (65536). To maximize quotas, use MaxServiceVisits property on the appropriate binding element.

According to

you want something like this:

  & lt; Binding & gt; & Lt; BasicHttpBinding & gt; & Lt; Binding name = "basic HTTP" permission cookies = "true" maximum mceset = "20000000" maxBufferSize = "20000000" max buffer size = "20000000" & gt; & Lt; ReaderQuotas maxDepth = "32" maxArrayLength = "200000000" Maximum String Content Length = "200000000" /> & Lt; / Binding & gt; & Lt; / BasicHttpBinding & gt; & Lt; / Binding & gt;    

Please read comments on acceptable answers here, there are valuable inputs in it.

Comments