Additional information: The maximum message size quota for incoming messages (65536) has been exceed

wcf service:

1 <system.serviceModel>
2     <bindings>
3       <basicHttpBinding>
4         <binding name="basicHttp" maxReceivedMessageSize="9223372036854775807" maxBufferSize="2147483647" maxBufferPoolSize="9223372036854775807">
5           <readerQuotas maxArrayLength="2147483647" maxStringContentLength="2147483647" maxDepth="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
6         </binding>
7       </basicHttpBinding>
8     </bindings>
9 </system.serviceModel>

client:

 1 <configuration>
 2     <startup> 
 3         <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
 4     </startup>
 5     <system.serviceModel>
 6       <bindings>
 7         <basicHttpBinding>
 8           <binding name="BasicHttpBinding_IMySQLService"  maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647">
 9             <readerQuotas maxArrayLength="2147483647" maxStringContentLength="2147483647" maxDepth="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
10           </binding>
11         </basicHttpBinding>
12       </bindings>

 

上一篇:出现Uncaught Error: Minified exception occurred; use the non-minified dev environment for the full err


下一篇:zookeeper问题:关于Unable to read additional data from server sessionid 0x0问题的解决