FILE VALIDATION FAILED: need your help

Topics: Updater Application Block
Nov 22, 2003 at 7:22 AM
originally posted by: JackHsu

Hi all,

I have encountered the following error during File Validation process:


DownloaderManager.ValidateFiles :
FILE VALIDATION FAILED:
The file 'FileAccess.exe.config' failed validation.
Stopping validation, deleting all files to prevent questionable files from remaining.


The first file was validated fine until it gets to the config file. Then of course the UAB deleted all the downloaded file once it finds any unvalidated files.

Does anybody have any answers to this?

Thanks a lot for any of your help!
Nov 22, 2003 at 11:38 AM
originally posted by: JackHsu

I found out what was wrong with my problem:

The problems lied in the app's config file in the update folder on the server side in that it was changed after the server Manifest file was created. This caused the config file to fail to be validated.

So what i did was i made sure what i needed to change in the config file was done before the server Manifest file was created. Then, i went ahead created a new server Manifest file. That fixed the problem.

In short, everytime the content of the update folder is changed (i.e files added, modifed or deleted), a new Server manifest file needs to be created after the modification to the update folder's content.

Cheers!
May 1, 2004 at 3:11 PM
originally posted by: brianapaul

i just ran into the same problem. thanks for the nice explanation JackHsu!