WCF Streaming not working at server
Posted
by Radhi
on Stack Overflow
See other posts from Stack Overflow
or by Radhi
Published on 2010-04-27T05:38:02Z
Indexed on
2010/04/27
5:43 UTC
Read the original article
Hit count: 505
hi, i have used WCF service to transfer large files in chunks to the server for that i have reference this article http://kjellsj.blogspot.com/2007/02/wcf-streaming-upload-files-over-http.html
i have configured my application on IIS on my machine. its work fine here. it allows upto 64mb file upload but when we have published the site. it allows only maximum 30Mb file if i try to upload more than that i got error 404 - resource not found.
here is the binding config i have used.
<basicHttpBinding>
<!-- buffer: 64KB; max size: 64MB -->
<binding name="FileTransferServicesBinding" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" transferMode="Streamed" messageEncoding="Mtom" maxBufferSize="65536" maxReceivedMessageSize="67108864">
<security mode="None">
<transport clientCredentialType="None"/>
</security>
</binding>
</basicHttpBinding>
please suggest me where i am missing anything. and if required more code please let me know
-thanks in advance
© Stack Overflow or respective owner