Updater timeout by file size or no. of file limit?

Topics: Updater Application Block
Jul 22, 2004 at 9:24 PM
originally posted by: Kennon2000

I successfully get an update of files from server of my ISP using .Net updater, one of the file have size of about 7MB.
However, when I increase the no. of file to 165 and the files' size are below 3 MB, I got this error(note that I found my internet connection traffic very smooth):

DownloaderManager.IsPollerIntervalElapsed :

The download job has waited 240313 milliseconds for the download.
The affected application 'myApp' waited more than twice the allotted polling period for this download;
it is canceling and restarting the update job.

DownloaderManager.RunDownloader :

ERROR:
The download job has waited 240313 milliseconds for the download.
The affected application 'myApp' waited more than twice the allotted polling period for this download;
it is canceling and restarting the update job.
STACK: at DownloaderManager.IsPollerIntervalElapsed() in DownloaderManager.cs:line 730
at DownloaderManager.RunDownloader() in DownloaderManager.cs:line 360


What is the cause of this error? How can I solve it?
Thanks.
Aug 27, 2004 at 7:34 AM
originally posted by: jabber7

I have the same issue with approx. 80 files with total size around 3 MB. You can get around this by changing the Polling Type in the config file from 120 Seconds...I noticed that the majority of time is spent by BITS creating all the .tmp files. Don't know how to speed it up.
Nov 24, 2004 at 7:39 AM
originally posted by: RagingKore

Have you tried to implement compression? Why?
Because you would only have a file to be donwloaded.

Ex: MyUpdate.zip

You updater code just has to unzip it to a path of your choice.

:)

Brilliant, I now...