Additional information: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding elemen

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>

 

posted @ 2019-12-13 16:45  FredGrit  阅读(382)  评论(0编辑  收藏  举报