Powiel możliwe:
The maximum message size quota for incoming messages (65536) has been exceededjak zwiększyć MaxReceivedMessageSize podczas wywoływania WCF od C#
Używam WCF do wysyłania i pobierania plików. Zamieszczanie jest udany, ale kiedy pobierania dużego pliku znalazłem ten błąd
Błąd: Maksymalna kwota rozmiar wiadomości dla wiadomości przychodzących (65536) została przekroczona. Aby zwiększyć limit, użyj właściwości MaxReceivedMessageSize o wartości na odpowiednim elemencie wiązania.
Mój plik Service.config ma następujący kod.
<system.web>
<compilation debug="true" />
<httpRuntime executionTimeout="4800" maxRequestLength="2147483647" />
</system.web>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" maxBufferPoolSize="524288">
<readerQuotas maxDepth="32" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</binding>
</basicHttpBinding>
<!--<webHttpBinding>
<binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" />
</webHttpBinding>-->
</bindings>
<services>
<service name="WITSService.WITSService">
<clear />
<endpoint binding="basicHttpBinding" contract="WITSService.WITSService" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
<dataContractSerializer maxItemsInObjectGraph="2147483646"/>
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="myEndPointBehavior">
<dataContractSerializer maxItemsInObjectGraph="2147483646"/>
</behavior>
</endpointBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
może ktoś mi pomóc w jaki sposób zwiększyć MaxReceivedMessageSize