Problem transfering Large Files using Web Service

GKG

Member
Joined
Aug 11, 2005
Messages
18
Programming Experience
1-3
Hi,
I am building an application to tranfer large files (1000MB) to the server using web service.
The client is the windows application using VB.net.

I have used DIME in the web service to transfer files.

The problem I am facing is that if I try to transfer files above 100MB then I get the following exception...
"execution Timed - Out".

I have made the following settings -
1. In web.config of the web service :
<system.web>
<httpRuntimeexecutionTimeout="1800"maxRequestLength="1024000"/>
</system.web>

2. In machine.config :
<httpRuntime
executionTimeout="1800"
maxRequestLength="1024000"
/>

The "execution Timed - Out" exception occurs before the 1800 seconds.

Can anybody why this happens and how to solve it???

Expecting help soon

Cheers,
GKG

 
Carl Franklin (www.dotnetrocks.com) did this very thing in a sample app as I posed this problem to him in how to handle large data transfers via web services. He used to have sample code on his web site but I can't find where it is, and I'm not sure if he posted this latest sample. It involved chunking, hash checking, etc. Give him an e-mail and see if he's willing to post his sample app where use uses the web service to pass up arrays of bytes chunks at a time. It should do the trick for you.
 
Back
Top