BizTalk Orchestration published WCF service returning response: (413) Request Entity Too Large.

 I published BizTalk Orchestration as a WCF Service and getting "response: (413) Request Entity Too Large." for request larger than 1 MB. I added "bindings" tag to web.config of WCF service as below but no luck.

<bindings>            <basicHttpBinding>              <binding name="BasicHttpBinding_ITwoWayAsync" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text">            <readerQuotas maxDepth="2000000" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />          </binding>                 </basicHttpBinding>   </bindings>

I restarted IIS and changed "Max Rec Message Size" setting of BizTalk receive location but no luck.

Am I missing any steps???

Please advise.

May 28th, 2015 5:16pm

Check the receive location properties as well there should be a default message size of 64k there you might need to up.

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2015 8:22pm

Go to Binding tab in receive location properties and configure the Max received message size to 2147483647

May 28th, 2015 8:27pm

I have changed Max message change setting and also restarted IIS but no luck.

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2015 8:36pm

Hello,

set maxAllowedContentLength value in your web.config file.

Thanks
  • Edited by bobby us 12 hours 50 minutes ago
June 2nd, 2015 2:16pm

Hello,

set maxRequestLength value in your web.config file.

Thanks

  • Edited by bobby us 17 hours 38 minutes ago
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2015 6:13pm

Hello,

set maxRequestLength value in your web.config file.

Thanks

  • Edited by bobby us Wednesday, June 03, 2015 1:26 PM
June 2nd, 2015 6:13pm

Hello,

set maxRequestLength value in your web.config file.

Thanks

  • Edited by bobby us Wednesday, June 03, 2015 1:26 PM
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2015 6:13pm

Hello,

set maxRequestLength value in your web.config file.

Thanks

  • Edited by bobby us Wednesday, June 03, 2015 1:26 PM
June 2nd, 2015 6:13pm

Hello,

set maxRequestLength value in your web.config file.

Thanks

Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2015 6:13pm

Hello,

set maxRequestLength value in your web.config file.

Thanks

June 2nd, 2015 6:13pm

Hi ,

You need to include below setting in the web.config file of your serivce:

Put this in the system.web for example if you want to allow 12MB message size .do it below

<system.web>

<httpRuntime maxRequestLength="12288"/>

<system.web>

and restart the IIS service or corresponding app pool.

Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2015 6:01am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics