Problem with HttpDownloader by Kent Boogaart



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