Quite recently we encountered an error in BizTalk WCF sends when the message being sent over the wire.
The error being reported on BizTalk and event viewers is more of a generic error like:
We noticed that the error happened wheever the message being sent is big in size say 100 MB- 150 MB.
So to check if this was infact the issue, we increased the maxRequestLength=”2147483647″ which did not help.
For IIS 7 and above there are more settings to be modified for this to work, there needs to be a security settings in the config that allows the service to accept bigger messages.
<requestLimits maxAllowedContentLength=”1048576000″/> <!– 1000 MB –>
The setting can be applied at the IIS level as well and that would then apply to all the services hosted on the IIS server.