configuration - WCF bindingConfiguration Issue -
i'm getting maxstringcount exceeded error, , have read ton on fixing issue (that is, if you're using http bindings).
problem me, i'm using nettcpbinding. have no idea put in bindingconfiguration.. here's app.config:
<services> <service behaviorconfiguration="exstreamwcf.service1behavior" name="exstreamwcf.service1"> <endpoint address="" binding="nettcpbinding" bindingconfiguration="" contract="exstreamwcf.iservice1"> <identity> <dns value="devexstream-2.anchorgeneral.local" /> <!--<dns value="vmwin2k3sta-tn2" />--> </identity> </endpoint> <endpoint address="mex" binding="mextcpbinding" bindingconfiguration="" contract="imetadataexchange" /> <host> <baseaddresses> <add baseaddress="net.tcp://devexstream-2:8080/service" /> <!--<add baseaddress="net.tcp://vmwin2k3sta-tn2:8080/service" />--> </baseaddresses> </host> </service>
any ideas?
thanks,
jason
do mean maxstringcontentlength? if so, set in same section of config file other bindings - in readerquotas section of binding section. i.e.:
<bindings> <nettcpbinding> <binding name=".....> <readerquotas maxstringcontentlength="8192" .... /> </binding> </nettcpbinding> </bindings>
if mean else, can provide more details?
Comments
Post a Comment