Problem with HttpDownloader by Kent Boogaart

  • Thread starter Mateusz [PEYN] Adamus
  • Start date
M

Mateusz [PEYN] Adamus

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
 
M

m_jones

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top