Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

Is there an IIS setting which overrides the MaxReceivedMessageSize in the web.config?

$
0
0

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.

 


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>