404 – File or Directory not found, BizTalk WCF calls to service

Posted on

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:

Size Issue

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.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s