Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Unable to override default ReaderQuotas.MaxBytesPerRead setting for WCF-Custom transport › Re: Unable to override default ReaderQuotas.MaxBytesPerRead setting for WCF-Custom transport
This can be fixed easily by adding below in configuration file
<service behaviorConfiguration="UserManagerRestfulService">
<endpoint binding="webHttpBinding"
bindingConfiguration="abc" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<webHttpBinding>
<binding name="abc" closeTimeout="00:25:00" openTimeout="00:25:00"
receiveTimeout="00:25:00" sendTimeout="00:25:00" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647" transferMode="Streamed" />
<binding name="BasicHttpBinding_Streamed" closeTimeout="00:10:00"
openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"
maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</binding>
</webHttpBinding>
in reader quotas u can specify the length u need.
Regards,
Muhammad Wasim [email protected]
Zigron Pakistan