BizTalk 发送端口:(413) 请求实体太大。由于请求实体太大,页面未显示

发布于 2025-01-12 02:00:46 字数 770 浏览 3 评论 0原文

我们有一个托管在 IIS 10 上的 WCF 服务,我们有一个发送端口 WCF-Custom(BasicHttpBinding),我通过它在管道中转换为 Base64 格式来发送 excel 文件。

如果我使用文件适配器将相同的消息发送到文件夹,则没有问题,但在使用 WCF-Custom(BasicHttpBinding) 时,我收到以下错误 “System.Net.WebException:远程服务器返回意外响应:(413) 请求实体太大。 由于请求实体太大,页面未显示。”

注意:我的文件大小为 37MB,因此尝试为所有属性设置最大值,我也检查了绑定名称。

任何人都可以有任何解决方案,我该如何解决这个问题 配置

下面是我的发送端口绑定 输入图片此处描述输入图片这里的描述

下面是WCF绑定配置 输入图片此处描述

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?

Here's my Send port Binding configuration below
enter image description here
enter image description here

Below is WCF Binding Conffiguration
enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

窝囊感情。 2025-01-19 02:00:46

我之前遇到过这个问题,您还需要增加 receiveTimeout 设置。尝试此属性的最大超时设置。

输入图片此处描述

I encountered this issue before you also need to increase your receiveTimeout settings. Try the maximum timeout settings for this property.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文