繁体   English   中英

已超过传入消息的最大消息大小配额 (65536) - 设置 maxReceivedMessageSize="2147483647" 已更新但不起作用

[英]The maximum message size quota for incoming messages (65536) has been exceeded - set maxReceivedMessageSize="2147483647" updated but not working

在 web 配置上添加了最大大小,但仍然显示相同的错误。

错误图像

您需要在服务器端和客户端设置maxReceivedMessageSize 像这样的代码:

<system.serviceModel>
    <bindings>
        <basicHttpBinding>
            <binding maxBufferSize="64000000" maxReceivedMessageSize="2147483647" />
        </basicHttpBinding>
    </bindings>
</system.serviceModel>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM