Stupid, stupid of me: (
The thing is, I created the binding configuration in the web.config file as follows:
<bindings> <wsHttpBinding> <binding name="netTcpBindingConfig" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="6000000"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="6000000" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> </binding> </wsHttpBinding> </bindings>
But then I did not apply the configuration to the endpoint! So, I had to add this to the endpoint tag:
bindingConfiguration="netTcpBindingConfig"
Now it works like a charm.
Andreas Grech Apr 11 '09 at 13:30 2009-04-11 13:30
source share