其他分享
首页 > 其他分享> > Additional information: The maximum message size quota for incoming messages (65536) has been exceed

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>

 

标签:information,use,Additional,binding,quota,appropriate,exceeded,message
来源: https://www.cnblogs.com/Fred1987/p/12036030.html