I created a local web service that accepts a byte array as a parameter and then I write the data in the array to a hardcoded file name.
I added the following entry to the web service app's config file and my computer's machine.config files:
< httpRuntime maxRequestLength="1048576" executionTimeout="180" />
I can successfully transfer 50 megs worth of data but it fails with the following error msg when i try to send a 100 megs of data (1 gig is my goal):
{"The underlying connection was closed: An unexpected error occurred on a send."}
System.Net.WebException: {"The underlying connection was closed: An unexpected error occurred on a send."}
InnerException: {"Unable to write data to the transport connection: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full."}
Message: "The underlying connection was closed: An unexpected error occurred on a send."
<snip>
Note - it fails long before the specified time out value is reached.
Anybody have any ideas. Any assistance would be appreciated.
todd
.NET Development10
|