Re: Problem with HttpDownloader by Kent Boogaart
- From: "m_jones" <markjjones@xxxxxxxxx>
- Date: 15 Jun 2005 15:00:07 -0700
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
.
- References:
- Problem with HttpDownloader by Kent Boogaart
- From: Mateusz [PEYN] Adamus
- Problem with HttpDownloader by Kent Boogaart
- Prev by Date: Need good example of using MS Access with C#
- Next by Date: Re: Found a bug in Remoting / Serialization
- Previous by thread: Problem with HttpDownloader by Kent Boogaart
- Next by thread: SQL SERVER, DataRows and Null Dates
- Index(es):
Relevant Pages
|