Re: Problem with HttpDownloader by Kent Boogaart

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Have you made the necessary changes to the manifest.xml file? You need
to specify what downloader to use. You should include the line:
<downloader name="HttpDownloader" /> in the manifest. If the downloader
name is not specified BITS will be used by default.

Hope that helps.

Mark

Mateusz [PEYN] Adamus wrote:
> Hi everyone
>
> Lately I implemented Updater Block v.2.0 into my app but today I found
> out that it's not working on Win98. I searched the web and found the
> HttpDownloader made by Kent Boogaart.
>
> I have my app compiled and it worked fine with the BITS (on WinXP). I
> put the HttpDownloader.dll into my apps directory, modified the
> app.config and updaterconfiguration.config as shown in readme.html and
> fired all up.
>
> Application downloaded the manifest files but when I give it a "go
> ahead" for downloading updates I get this exception:
> Microsoft.ApplicationBlocks.Updater.ApplicationUpdaterException:
>
> The
> Downloader Manager is unable to locate and/or create the downloader
> instance. ---> System.NullReferenceException: Object reference not
> set to an instance of an object.
> at
> Microsoft.ApplicationBlocks.Updater.Utilities.DownloaderFactory.GetConfigurationType(String
> downloadProviderName)
> at
> Microsoft.Practices.EnterpriseLibrary.Configuration.ConfigurationFactory.CreateInstance(String
> configurationName)
> at
> Microsoft.ApplicationBlocks.Updater.Utilities.DownloaderFactory.CreateDownloader(String
> downloaderProviderName)
> at
> Microsoft.ApplicationBlocks.Updater.Downloader.DownloadManager.GetDownloader(UpdaterTask
> task)
> --- End of inner exception stack trace ---
> at
> Microsoft.ApplicationBlocks.Updater.Downloader.DownloadManager.GetDownloader(UpdaterTask
> task)
> at
> Microsoft.ApplicationBlocks.Updater.Downloader.DownloadManager.SubmitTask(UpdaterTask
> task, TimeSpan maxWaitTime)
> at
> Microsoft.ApplicationBlocks.Updater.ApplicationUpdaterManager.Download(Manifest[]
> selectedManifests, TimeSpan maxWaitTime)
>
> Has anyone had the same problem? I've seen that over a 1k people
> downloaded it so I guess I can't be the only one who came accross this
> exception.
>
> I'm developing in Delphi 2005 - maybe this is problem?
> Maybe I have to add reference in project for this dll?
> I took code activating the downloader from MS examples (InProx exactly)
> - maybe I have to modify it in some way?
>
> Big TIA
>
> best regards
> Mateusz [PEYN] Adamus

.



Relevant Pages

  • Problem with HttpDownloader by Kent Boogaart
    ... Lately I implemented Updater Block v.2.0 into my app but today I found out that it's not working on Win98. ... Downloader Manager is unable to locate and/or create the downloader ... selectedManifests, TimeSpan maxWaitTime) ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Background Downloader is downloading 555MB for the third time.
    ... Jamie Kahn Genet wrote: ... magically gone away) "Background Downloader is a convenience. ... downloader app. ... and Blizzard's dumb response to it. ...
    (alt.games.warcraft)