The settings seem fine - but does the server-side endpoint using the basicHttpBinding
actually reference that binding configuration with the increased MaxReceivedMessageSize
setting at all??
You should have a setup something like this in your server-side web.config
:
<services>
<service name="WebStore.WebStoreServices">
<!-- this endpoint uses basicHttpBinding and uses the binding configuration -->
<endpoint name="basicHttp"
address="......"
binding="basicHttpBinding"
bindingConfiguration="WebStoreServices_BasicHttpBinding"
contract="WebStore.IWebStoreServices" />
</service>
</services>
If your basicHttpBinding
endpoint is missing the bindingConfiguration="..."
setting - well, then you've defined the binding configuration alright, but you're not actually using it!