maxReceivedMessageSize not fixing 413: Request Entity Too Large

后端 未结 5 1591
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-03 13:29

My call to my WCF web service is failing with System.Net.WebException: The request failed with HTTP status 413: Request Entity Too Large.

Checking Fiddl

5条回答
  •  爱一瞬间的悲伤
    2020-12-03 14:01

    tried things from 10 different blogs and my coworker figured it out. we had to add a basicHttpsBinding section inside of in addition to the basicHttpBinding section. We have a webapi service calling wcf. the webapi method was catching the entity too large error when it called the wcf service method. This change was applied in the web.config file of the wcf service.

提交回复
热议问题