ERROR Downloading Manifest

Topics: Updater Application Block
Oct 29, 2003 at 9:37 PM
originally posted by: aakil

Hi - I've tried it all, and eventually went back to the samples and ran them (SelfUpdating is the one that I'm most interested in). But it just doesn't work... this is the log that gets generated...

ApplicationUpdateManager.StartUpdater :
The Updater has started; the target application's name is 'SelfUpdatingTest'. Time started: 20031029_09:28:20.

DownloaderManager.RunDownloader :
Checking on updates for application 'SelfUpdatingTest'.


DownloaderManager.IsServerManifestDownloaded :
DOWNLOAD STARTED: Downloading manifest for the application 'SelfUpdatingTest'. Time started: 20031029_09:28:20


DownloaderManager.IsServerManifestDownloaded :
SOURCE FILE: 'http://localhost/selfupdating/ServerManifest.xml'


DownloaderManager.IsServerManifestDownloaded :
DEST FILE: 'C:\Program Files\Microsoft Application Blocks for .NET\Updater\Code\DemoFiles\SelfUpdaterClient\ServerManifest.xml'


DownloaderManager.IsServerManifestDownloaded :
The metadata file (the Server Manifest) can't be downloaded for the application 'SelfUpdatingTest'.
Either the manifest is unavailable (check download URL in Updater config file), the downloader failed, or
the Manifest failed validation.
ERROR: Exception from HRESULT: 0x8020000F.
STACK: at Microsoft.ApplicationBlocks.ApplicationUpdater.Downloaders.IBackgroundCopyJob.GetError(IBackgroundCopyError& ppError)
at Microsoft.ApplicationBlocks.ApplicationUpdater.Downloaders.BITSDownloader.HandleDownloadErrorCancelJob(IBackgroundCopyJob copyJob, String& errMessage) in C:\Program Files\Microsoft Application Blocks for .NET\Updater\Code\CS\Microsoft.ApplicationBlocks.Updater\Microsoft.ApplicationBlocks.ApplicationUpdater\BITSDownloader.cs:line 482
at Microsoft.ApplicationBlocks.ApplicationUpdater.Downloaders.BITSDownloader.Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.IDownloader.Download(String sourceFile, String destFile, TimeSpan maxTimeWait) in C:\Program Files\Microsoft Application Blocks for .NET\Updater\Code\CS\Microsoft.ApplicationBlocks.Updater\Microsoft.ApplicationBlocks.ApplicationUpdater\BITSDownloader.cs:line 191
at Microsoft.ApplicationBlocks.ApplicationUpdater.DownloaderManager.IsServerManifestDownloaded() in C:\Program Files\Microsoft Application Blocks for .NET\Updater\Code\CS\Microsoft.ApplicationBlocks.Updater\Microsoft.ApplicationBlocks.ApplicationUpdater\DownloaderManager.cs:line 438

All the updater samples do the same thing. It starts the app, creates a BIT**.tmp file and log file, and after a couple of seconds - updates the log file with the above...

Anyone got any ideas?

Sacha