D
DBC User
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(BufferOffsetSize[]
buffers, SocketFlags socketFlags)
at
System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[]
buffers)
--- End of inner exception stack trace ---
at
System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[]
buffers)
at System.Net.Security._SslStream.StartWriting(SplitWritesState
splitWrite, SplitWriteAsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessWrite(BufferOffsetSize[]
buffers, SplitWriteAsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.MultipleWrite(BufferOffsetSize[] buffers)
at System.Net.Connection.Write(ScatterGatherBuffers writeBuffer)
at System.Net.ConnectStream.ResubmitWrite(ConnectStream oldStream,
Boolean suppressWrite)
--- End of inner exception stack trace ---
at
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtocol.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.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
Thanks.
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(BufferOffsetSize[]
buffers, SocketFlags socketFlags)
at
System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[]
buffers)
--- End of inner exception stack trace ---
at
System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[]
buffers)
at System.Net.Security._SslStream.StartWriting(SplitWritesState
splitWrite, SplitWriteAsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessWrite(BufferOffsetSize[]
buffers, SplitWriteAsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.MultipleWrite(BufferOffsetSize[] buffers)
at System.Net.Connection.Write(ScatterGatherBuffers writeBuffer)
at System.Net.ConnectStream.ResubmitWrite(ConnectStream oldStream,
Boolean suppressWrite)
--- End of inner exception stack trace ---
at
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtocol.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.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
Thanks.