We are running IIS 7.5 on a Windows 2008R2 server. We have a web service which is returning a large number of rows. Inside the webconfig, in the <system.servicemodel> <bindings> section we have a maxreceivedmessagesize established, but it does not appear to be working. Is there a place within IIS itself that I need to increase a limit of some kind? This is what we have in the web.config...
<bindings>
<wsHttpBinding>
<binding name="mutualCertificatesBinding" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxReceivedMessageSize="200000000">
<security mode="TransportWithMessageCredential">
<transport clientCredentialType="None" />
<message clientCredentialType="Certificate" negotiateServiceCredential="false" establishSecurityContext="false" />
</security>
</binding>
</wsHttpBinding>
</bindings>
This appears to be correct based on articles I have found, but our service is still getting an error for "maximum message size quota for incoming messgaes (65536) have been exceeded.
Any help would be greatly appreciated.