【发布时间】:2016-11-02 10:54:09
【问题描述】:
我收到错误“请求实体太大错误 - WCF 服务”。所以我在 web.config 中添加了以下几行。
<binding maxReceivedMessageSize="2147483647"
maxBufferSize="2147483647"
maxBufferPoolSize="2147483647">
<readerQuotas maxDepth="32"
maxArrayLength="2147483647"
maxStringContentLength="2147483647"/>
</binding>
添加 DEV 后运行正常。我已将其发送到 PRODUCTION 中。我收到一个错误
内容类型text/html;响应消息的 charset=utf-8 确实 与绑定的内容类型不匹配......
【问题讨论】: