'BizTalk Send Port : (413) Request Entity Too Large. The page was not displayed because the request entity is too large

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



Solution 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ed Bangga