application manifest errors

I'm getting the following error message at on one of my customer’s pc when installing an update to a deployment. All of my other customer’s are working fine. Has anyone experienced this issues or has seen this message?

"Reference in the deployment does not match the identity defined in the application manifest"

Here's Microsoft’s explanation.

http://msdn2.microsoft.com/en-us/ms229001.aspx

I also saw somewhere in the past, that you needed to deleted the local internet cache on the client’s pc which was done. I've also uninstalled the click once app using add/remove programs. So I guess I'm not sure what to do. Here's the actual error:

Reference in the deployment does not match the identity defined in the application manifest.

at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(As

semblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)

at System.Deployment.Application.DeploymentManager.BindCore(Boolean

blocking, TempFile& tempDeploy, TempDirectory& tempAppDir, FileStream& refTransaction, String& productName)

at System.Deployment.Application.DeploymentManager.Bind()

at

System.Deployment.Application.ApplicationDeployment.CheckForDetailedUpdate()

at System.Deployment.Application.ApplicationDeployment.CheckForUpdate()


[1907 byte] By [phanf] at [2007-12-25]
# 1
Your problem will be the public key token of the application manifest, stored in the deployment manifest, doesn't match the actual application manifest. I've encountered this when signing the manifests and failing to re-reference the application manifest from the deployment manifests.
TomMcDonnell at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 2
Thanks for your help, I recreated the deployment and our customer reinstalled it without any problems, Thanks! patrick
phanf at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 3

Dumb question, but how are you "re-referencing the application manifest from the deployment manifest" after you sign the files?

Thanks

S_GMAN at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 4

In MageUI, with the deployment manifest open, select Application Reference, then click "Select Manifest" and browse to the application manifest (the same one in the Location field). Thus re-referencing the same application manifest.

There are no dumb questions...

kcongdon at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 5
kcongdon wrote:

There are no dumb questions...

I dont know about that, thanks for the info though, got the issue resolved, sort of.

Has anyone here used Team Build to build and deploy a ClickOnce application? I have found bits and pieces of information on it but I cannot make sense of what some folks are doing and when I try and duplicate what they are doing I cannot get it to work.

Thanks again.

SG

S_GMAN at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 6

MageUI?

Also, how do you open the deployment manifest?

Thanks

Ted

TedWagner at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 7
TedWagner wrote:

MageUI?

MageUI.exe has a user interface and lets your create app manifest and deployment manifest files.

You can open the manifest files with an XML editor.

S_GMAN at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 8

Ah, you can also fix this by clicking on the elipse button for the publish location and either browsing to the local folder or entering the url.

After doing that and saving and republishing, problem solved.

Ted

TedWagner at 2007-9-3 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...