Solved

Reference in the manifest does not match the identity of the downloaded assembly Interop.Microsoft.Office.Interop.Outlook.dll

Posted on 2008-10-28
4
9,991 Views
Last Modified: 2013-11-10
Greetings:

I have a project that is distributed/published to the company via a file share.  The certificate for the Visual Studio project recently expired and was replaced/updated in order to publish successfully.  However, after the publish succeeded, the application would not install on any machines due to the following exception:

Reference in the manifest does not match the identity of the downloaded assembly Interop.Microsoft.Office.Interop.Outlook.dll

I'm new to this particular project and all of its details.  Thus, at this point I don't know what to make of this error.  Also, during the actual 'Publish' the message in the picture below was given.  I assume this is not an issue seeing how the new certificate was not created with the same name as the old.

Any ideas on how I can straighten this out?

Thanks!
WARNINGS

	There were no warnings during this operation.
 

OPERATION PROGRESS STATUS

	* [10/28/2008 10:52:34 AM] : Activation of C:\Documents and Settings\...\Start Menu\Programs\...\CompanyApplication.appref-ms has started.

	* [10/28/2008 10:52:34 AM] : Performing necessary update check as specified by the deployment.

	* [10/28/2008 10:52:34 AM] : Consuming new update.

	* [10/28/2008 10:52:37 AM] : Installation of the application has started.

	* [10/28/2008 10:52:37 AM] : Processing of application manifest has successfully completed.

	* [10/28/2008 10:52:37 AM] : Request of trust and detection of platform is complete.
 

ERROR DETAILS

	Following errors were detected during this operation.

	* [10/28/2008 10:52:37 AM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)

		- Reference in the manifest does not match the identity of the downloaded assembly Interop.Microsoft.Office.Interop.Outlook.dll.

		- Source: System.Deployment

		- Stack trace:

			at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)

			at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)

			at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

			at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()

			at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)

			at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)

			at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)

			at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)

			at System.Deployment.Application.ApplicationActivator.ConsumeUpdatedDeployment(SubscriptionState& subState, ActivationDescription actDesc)

			at System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState& subState)

			at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, TempFile& deployFile)

			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)

			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

Open in new window

certificate-warning.JPG
0
Comment
Question by:John500
  • 3
4 Comments
 
LVL 13

Accepted Solution

by:
TechTiger007 earned 500 total points
ID: 22822613
Seems like you have not signed all the components with same certificate.
0
 

Author Comment

by:John500
ID: 22822841
Thanks for your input.

Regarding the 'Interop.Microsoft.Office.Interop.Outlook.dll' which appears as the sole error in the error message:

"Reference in the manifest does not match the identity of the downloaded assembly Interop.Microsoft.Office.Interop.Outlook.dll."

... how would a certificate apply here?  I can easily identify this dll among the project references (see picture below) but how would a certificate come into play with this?

As far as the message which is given during the Publish, I read this as saying - the three key files already existing on the server (most importantly - publish.htm) don't have the same key:

CompanyApplication.application
publish.htm
setup.exe
references.JPG
0
 

Author Comment

by:John500
ID: 22822983
Notice also the exception type:

System.Deployment.Application.InvalidDeploymentException (RefDefValidation)

I read that:

A deployment manifest is an XML file that describes a ClickOnce deployment, including the identification of the current ClickOnce application version to deploy.

InvalidDeploymentException indicates the existence of a corrupt deployment or application manifest in a ClickOnce application. The error might occur because the manifests are poorly formed, have unrecognized elements for their schemas, or have mismatched digital signatures.

You are more likely to have corruption if you manually edit the deployment or application manifest files with a text editor. You can usually correct this problem by regenerating your ClickOnce deployment, which will create new deployment and application manifests. For more detailed debugging steps, see the following links.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I figure my situation is due to 'mismatched digital signatures.'   How would I regenerate the ClickOnce deployment, isn't that the *Publish* process?  How do I know I have a 'ClickOnce' deployment?

Thanks
0
 

Author Comment

by:John500
ID: 22824660
Problem ended up being related to the manifest.  After all related projects were updated with the correct certificate there was no longer any conflict in the manifest.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I could not build boost code, 10 79
java. non-English characters encoding problem. intellij idea 3 74
Need a poor man's PowerPoint 5 74
Windows ICD FFU Issue 4 14
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now