I keep on running across this error when trying to deploy via ClickOnce
File, image.jpg, has a different computed hash than specified in manifest.
I realize that this is an error that has a lot of google results but I have been unable to resolve this. The stranger part is that this ClickOnce package has been deployed on a variety of other machines (at least 30) without any issues - this is only happening on one specific machine with Windows 7 and x64.
On the one hand, I have checked the manifest file and the version numbers don't match as they should and I've heard that this can be the cause of the error. This doesnt make sense because I checked the server the files are on and everything matches there.
On other hand, I know this package works on other machines and this is the first machine coming up with this error.
Finally, I've also tried all the "usual" fixes for this. I have signed the package, I have erased all files from the deployment server, I have cleaned, rebuilt and redeployed the application and none of these work.
Help!
You need to regenerate the application manifest. This happens when you change file contents and do not update your manifests accordingly.
Mage.exe MSDN Docs
We were deploying to 2 servers using the same URL, with the routers load-balancing between them. Deploying to the 2 servers resulted in differences between the manifest files on each server, and the error. What worked was to deploy to only one server, and then copy the application folder to the other server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With