[英]413: Request Entity Too Large error on IIS webservice
I've read other threads and they all point to setting the uploadReadAheadSize and maxRequestEntityAllowed.我读过其他线程,它们都指向设置uploadReadAheadSize 和maxRequestEntityAllowed。
I've set maxRequestEntityAllowed to 4294967295 and uploadReadAheadSize to 2147483647 through Configuration Editor but it still isn't working.我已通过配置编辑器将 maxRequestEntityAllowed 设置为 4294967295 并将 uploadReadAheadSize 设置为 2147483647,但它仍然无法正常工作。
I'm sending a 718kb file that was converted to base64.我正在发送一个已转换为 base64 的 718kb 文件。
I've added maxReceivedMessageSize="10485760"
to my binding:我已将
maxReceivedMessageSize="10485760"
添加到我的绑定中:
<binding name="SecureWebBinding" maxReceivedMessageSize="10485760">
<security mode="Transport"></security>
</binding>
In my Web.config on the server.在我服务器上的 Web.config 中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.