?
Solved

Application Validation did not succeed. Unable to continue

Posted on 2008-11-11
1
Medium Priority
?
1,682 Views
Last Modified: 2013-12-13
I'm getting this error after publishing to the server. It occurs when I test the install.
The dll in question in the manifest file on the target differs from the version I show in my references.
EXAMPLE: 1.0.3236.22091 (is source) vs. 1.0.2824.22979 in the generated manifest file on the server. The dll in question was generated from VS2003.
This seems to be isolated to my setup. If I have another developer (who was the original author of the deployed application) pull my copy from source safe, the problem goes away (for him) but I still eperience the error.
This is a Visual Basic windows application (.Net 2.0 framework)

Any Ideas as to where I might start looking?
PLATFORM VERSION INFO
	Windows 			: 5.1.2600.196608 (Win32NT)
	Common Language Runtime 	: 2.0.50727.1433
	System.Deployment.dll 		: 2.0.50727.1433 (REDBITS.050727-1400)
	mscorwks.dll 			: 2.0.50727.1433 (REDBITS.050727-1400)
	dfdll.dll 			: 2.0.50727.1433 (REDBITS.050727-1400)
	dfshim.dll 			: 2.0.50727.1433 (REDBITS.050727-1400)
 
SOURCES
	Deployment url			: file://oma-qa-iis02/c$/WebSites/INSIDEMC.COM/NoTouch/FileDistributionSetupUtility/FileDistributionSetupUtility.application
	Application url			: file://oma-qa-iis02/c$/WebSites/INSIDEMC.COM/NoTouch/FileDistributionSetupUtility/FileDistributionSetupUtility_1_0_0_119/FileDistributionSetupUtility.exe.manifest
 
IDENTITIES
	Deployment Identity		: FileDistributionSetupUtility.application, Version=1.0.0.119, Culture=neutral, PublicKeyToken=f7187e0aaf890b56, processorArchitecture=msil
	Application Identity		: FileDistributionSetupUtility.exe, Version=1.0.0.119, Culture=neutral, PublicKeyToken=f7187e0aaf890b56, processorArchitecture=msil, type=win32
 
APPLICATION SUMMARY
	* Online only application.
 
ERROR SUMMARY
	Below is a summary of the errors, details of these errors are listed later in the log.
	* Activation of file://oma-qa-iis02/c$/WebSites/INSIDEMC.COM/NoTouch/FileDistributionSetupUtility/FileDistributionSetupUtility.application resulted in exception. Following failure messages were detected:
		+ Reference in the manifest does not match the identity of the downloaded assembly EDM_DAL.dll.
 
COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.
 
WARNINGS
	There were no warnings during this operation.
 
OPERATION PROGRESS STATUS
	* [11/11/2008 12:07:02 PM] : Activation of file://oma-qa-iis02/c$/WebSites/INSIDEMC.COM/NoTouch/FileDistributionSetupUtility/FileDistributionSetupUtility.application has started.
	* [11/11/2008 12:07:03 PM] : Processing of deployment manifest has successfully completed.
	* [11/11/2008 12:07:03 PM] : Installation of the application has started.
	* [11/11/2008 12:07:03 PM] : Processing of application manifest has successfully completed.
	* [11/11/2008 12:07:05 PM] : Request of trust and detection of platform is complete.
 
ERROR DETAILS
	Following errors were detected during this operation.
	* [11/11/2008 12:07:11 PM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
		- Reference in the manifest does not match the identity of the downloaded assembly EDM_DAL.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.FileDownloader.OnModified()
			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.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
 
COMPONENT STORE TRANSACTION DETAILS
	No transaction information is available.

Open in new window

0
Comment
Question by:T_Mann
1 Comment
 

Accepted Solution

by:
T_Mann earned 0 total points
ID: 22934473
Found a solution:
It appears that more than one dll referenced in the manifest had a resource reference to the EDM_DAL.dll module. These were not using the GAC and it cause an 'out-of-sync' reference when creating the manifest file during publication.

I went back and rebuilt these projects and refreshed the references and the problem went away.
Long way to go for a very short stick in my opinion.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Tech giants such as Amazon and Google have sold Alexa and Echo to such an extent that they have become household names. And soon they are expected to be used by commoners in their homes, ordering takeout, picking out a song, answering trivia questio…
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses

840 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