Hi,
Recently created a WCF Service to be used for file upload.
Was getting the below error for large file
Setting the binding in the following manner fixed the issue
<bindings> <basicHttpBinding> <binding maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647"> <readerQuotas maxDepth="32" maxArrayLength="2147483647" maxStringContentLength="2147483647"/> </binding> </basicHttpBinding> </bindings>
Hope it helps..
this post is really useful
LikeLiked by 1 person
Thank you very much, you are the only one who described everything clearly!
LikeLiked by 1 person
Perfect!! thank you
LikeLiked by 1 person
which file you speak about, please?
LikeLike
the config file of WCF service https://docs.microsoft.com/en-us/dotnet/framework/wcf/configuring-services-using-configuration-files#major-sections-of-the-configuration-file
LikeLike