This project is read-only.

Updater Application Block 2.1 - Download Error

Nov 15, 2007 at 12:31 PM
I have compiled Updater Application Block 2.1 source with Enterprise library 3.0 without any issues.

When I download the application update for my application based on manual update scenario following + "ManualInproc" sample + only 1KB of data got downloaded where as the
application file that I had in the update server was of size 24KB.

While debugging I noticed that DownloadTaskProgressEventArgs BytesTotal was set to -1 and BytesTransferred was 0 when OnDownloadProgress method was called.

Is this the problem with BITS downloader ?
I am using IIS version 5.1
BITS latest version on Windows XP SP2

What could be the problem and can anyone suggest a solution?

Nov 16, 2007 at 6:49 AM
Can you enable the logging, you will get more information there.

Nov 19, 2007 at 4:38 AM
Problem is solved.

I had to re install IIS and set Content-Length to 30000. I do not know if specifying Content-Length is needed or not. But it works and am able
to download 24KB file.