BizTalk 发送端口:(413) 请求实体太大。由于请求实体太大,页面未显示
我们有一个托管在 IIS 10 上的 WCF 服务,我们有一个发送端口 WCF-Custom(BasicHttpBinding),我通过它在管道中转换为 Base64 格式来发送 excel 文件。
如果我使用文件适配器将相同的消息发送到文件夹,则没有问题,但在使用 WCF-Custom(BasicHttpBinding) 时,我收到以下错误 “System.Net.WebException:远程服务器返回意外响应:(413) 请求实体太大。 由于请求实体太大,页面未显示。”
注意:我的文件大小为 37MB,因此尝试为所有属性设置最大值,我也检查了绑定名称。
任何人都可以有任何解决方案,我该如何解决这个问题 配置
We have a WCF Service hosted on IIS 10, We have a send Port WCF-Custom(BasicHttpBinding) through which I am sending an excel file by converting to Base64 format in a pipeline.
If I send the same message to a folder using File adapter there is no issue but while using WCF-Custom(BasicHttpBinding) I am getting below error
"System.Net.WebException: The remote server returned an unexpected response: (413) Request Entity Too Large.
The page was not displayed because the request entity is too large."
Note: My file size is 37MB, so tried setting up max for all the attributes, I have checked Binding name also.
Can Anyone have any Solutions, how can I resolve this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我之前遇到过这个问题,您还需要增加
receiveTimeout
设置。尝试此属性的最大超时设置。I encountered this issue before you also need to increase your
receiveTimeout
settings. Try the maximum timeout settings for this property.