Application Validation did not succeed. Unable to continue

Posted on 2008-11-11
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?

	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)



	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



	Deployment Identity		: FileDistributionSetupUtility.application, Version=, Culture=neutral, PublicKeyToken=f7187e0aaf890b56, processorArchitecture=msil

	Application Identity		: FileDistributionSetupUtility.exe, Version=, Culture=neutral, PublicKeyToken=f7187e0aaf890b56, processorArchitecture=msil, type=win32



	* Online only application.



	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.



	No transaction error was detected.



	There were no warnings during this operation.



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



	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)



	No transaction information is available.

Open in new window

Question by:T_Mann
    1 Comment

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
    Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
    Viewers will learn how to use the Hootsuite Dashboard.
    Video by: Kyle
    After watching the Introduction to GIMP and additional tools to use in GIMP we are shown how to utilize multiple tools to create a 3D effect image.

    737 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