H5W3
当前位置:H5W3 > 其他技术问题 > 正文

Wcf : The maximum message size quota for incoming messages has been exceeded for the remote channel

我的WCF 服务托管在 WAS 上,请问在哪个位置能配置那个 maximum message size quota 啊?

System.ServiceModel.CommunicationException: The maximum message size quota for incoming messages has been exceeded for the remote channel. See the server logs for more details. —> System.ServiceModel.QuotaExceededException: The maximum message size quota for incoming messages has been exceeded for the remote channel. See the server logs for more details.

回答:

<bindings>
    <binding name="ApplicationServiceBinding" maxReceivedMessageSize="1048576">
    </binding>
  </netTcpBinding>
</bindings>

昨天配置完没好使,发现是由于配置了两个 Bindings 配置节,半夜做东西是不行,对不起大家了

本文地址:H5W3 » Wcf : The maximum message size quota for incoming messages has been exceeded for the remote channel

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址