application manifest errors  
Author Message
phanf





PostPosted: ClickOnce and Setup & Deployment Projects, application manifest errors Top

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://www.hide-link.com/

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()


 




Windows Forms2  
 
 
Tom McDonnell





PostPosted: ClickOnce and Setup & Deployment Projects, application manifest errors Top

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.

 
 
phanf





PostPosted: ClickOnce and Setup & Deployment Projects, application manifest errors Top

Thanks for your help, I recreated the deployment and our customer reinstalled it without any problems, Thanks! patrick

 
 
S_GMAN





PostPosted: ClickOnce and Setup & Deployment Projects, application manifest errors Top

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

Thanks


 
 
kcongdon





PostPosted: ClickOnce and Setup & Deployment Projects, application manifest errors Top

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...


 
 
S_GMAN





PostPosted: ClickOnce and Setup & Deployment Projects, application manifest errors Top

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


 
 
TedWagner





PostPosted: ClickOnce and Setup & Deployment Projects, application manifest errors Top

MageUI

Also, how do you open the deployment manifest

Thanks

Ted


 
 
S_GMAN





PostPosted: ClickOnce and Setup & Deployment Projects, application manifest errors Top

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.


 
 
TedWagner





PostPosted: ClickOnce and Setup & Deployment Projects, application manifest errors Top

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