Ashish, Darin means you must create basicHttpBinding to override and increase the value of maxStringContentLength to 2147483647. Can you confirm if you configured the endpoint to use the same bitting with the bindingConfiguration attribute. For example, you created a binding like this,
<basicHttpBinding> <binding name="HandleLargeMessage" maxReceivedMessageSize="2147483647"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> </binding>
You can configure the endpoint to use the above binding configuration like this, (note the bindingConfiguration attribute)
<endpoint address="....." binding="basicHttpBinding" bindingConfiguration="HandleLargeMessage" contract="xxx" />
Can you confirm that you have already done this? it is very likely that this does not seem to be the case.
If you have already done this and want to confirm whether it uses WCF traces for the service and client application at a detailed level and check the actions in the Construct Host on sevice and the Construct channel in the client application.
amit
source share