开发者

ClickOnce Deployment Error: different computed hash than specified in manifest

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.

O开发者_如何学Gon 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.


You need to delete all the files from your debug folder and need to regenerate the application manifest. This happens when you change file contents and do not update your manifests accordingly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜