我遇到错误WCF Windows应用程序在负载平衡环境中运行。
我使用“nettcpbinding”方法进行绑定和编码,如下所示。
<behaviors>
<serviceBehaviors>
<behavior name="CommonBehavior"/>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="CommonBehavior">
<dataContractSerializer maxItemsInObjectGraph="65536000" />
</behavior>
</endpointBehaviors>
</behaviors>
<bindings>
<netTcpBinding>
<binding name="netTcpBinding" maxReceivedMessageSize="9000000" transferMode="Buffered" listenBacklog="500" maxBufferPoolSize="9000000" maxBufferSize="9000000" maxConnections="500"
closeTimeout="02:02:00" openTimeout="02:02:00" receiveTimeout="02:02:00" sendTimeout="02:02:00">
<readerQuotas maxDepth="32" maxStringContentLength="9000000" maxArrayLength="9000000" maxBytesPerRead="9000000" maxNameTableCharCount="9000000" />
<reliableSession ordered="true" inactivityTimeout="02:02:00"
enabled="false" />
<security mode="None">
<transport clientCredentialType="Windows" protectionLevel="None" />
<message clientCredentialType="Windows" />
</security>
</binding>
</netTcpBinding>
</bindings>
请给我解决方案以解决这个问题.........