Hi All,
I am using VS2005/wse3.0 in winform application and using web
services. When I try to write a large file say about 5 to 10 MB file
(large for me) I get an error something like the following; I found
bunch of postings on this. but they are old and for older WSE. I am
able to download the same file but this happens only when I try to
write the same file back. Could someone help me?
System.Net.WebException: The underlying connection was closed: An
unexpected error occurred on a send. ---System.IO.IOException:
Unable to write data to the transport connection: An established
connection was aborted by the software in your host machine. --->
System.Net.Sockets.SocketException: An established connection was
aborted by the software in your host machine
at System.Net.Sockets.Socket.MultipleSend(BufferOffse tSize[]
buffers, SocketFlags socketFlags)
at
System.Net.Sockets.NetworkStream.MultipleWrite(Buf ferOffsetSize[]
buffers)
--- End of inner exception stack trace ---
at
System.Net.Sockets.NetworkStream.MultipleWrite(Buf ferOffsetSize[]
buffers)
at System.Net.Security._SslStream.StartWriting(SplitW ritesState
splitWrite, SplitWriteAsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessWrite(Buffer OffsetSize[]
buffers, SplitWriteAsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.MultipleWrite(BufferOffsetSiz e[] buffers)
at System.Net.Connection.Write(ScatterGatherBuffers writeBuffer)
at System.Net.ConnectStream.ResubmitWrite(ConnectStre am oldStream,
Boolean suppressWrite)
--- End of inner exception stack trace ---
at
System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest
request)
at
Microsoft.Web.Services3.WebServicesClientProtocol. GetResponse(WebRequest
request, IAsyncResult result)
at
Microsoft.Web.Services3.WebServicesClientProtocol. GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
Thanks.