>I have a Web Service which accepts, as one of its parameters, a Base64 encoded file. The file I am trying to send is 14 MB. I have tested for several days with files ranging from 50 K to 3 MB. But, I just saw that for such a file, I always have an error like this at the client side:
>
>"The underlying connection was closed: An unexpected error occurred on a send.
>at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at ..."
>
>Is there a limit of the size of a parameter we can pass in a Web Service?
This refers to an old .net version but I think it still applies:
http://support.microsoft.com/kb/915599