File xxx.exe.manifest has a different computed hash than specified in manifest
-
Friday, May 11, 2012 9:27 AMOS: Windows 7 SP1
VS 2010 SP1, LightSwitch 2011
I publish with the following parameters:
Client configuration: Desktop
Application Server: Local
Certificate: none
The Publish process ends with the following log:
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.17379
System.Deployment.dll : 4.0.30319.17379 built by: FXBETAREL
clr.dll : 4.0.30319.17379 built by: FXBETAREL
dfdll.dll : 4.0.30319.17379 built by: FXBETAREL
dfshim.dll : 4.0.41031.0 (Main.041031-0000)
SOURCES
Deployment url : file:///C:/Users/Admin/Documents/visual%20studio%202010/Projects/MyAgenda/MyAgenda/Publish/MyAgenda.application
Application url : file:///C:/Users/Admin/Documents/visual%20studio%202010/Projects/MyAgenda/MyAgenda/Publish/Application%20Files/MyAgenda.exe.manifest
IDENTITIES
Deployment Identity : MyAgenda.application, Version=1.0.3.0, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=x86
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\Admin\Documents\visual studio 2010\Projects\MyAgenda\MyAgenda\Publish\MyAgenda.application resulted in exception. Following failure messages were detected:
+ Application manifest has either a different computed hash than the one specified or no hash specified at all.
+ File, MyAgenda.exe.manifest, has a different computed hash than specified in manifest.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
* The manifest for this application does not have a signature. Signature validation will be ignored.
* The manifest for this application does not have a signature. Signature validation will be ignored.
OPERATION PROGRESS STATUS
* [11/05/2012 09:38:49] : Activation of C:\Users\Admin\Documents\visual studio 2010\Projects\MyAgenda\MyAgenda\Publish\MyAgenda.application has started.
* [11/05/2012 09:38:49] : Processing of deployment manifest has successfully completed.
* [11/05/2012 09:38:49] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [11/05/2012 09:38:49] System.Deployment.Application.InvalidDeploymentException (HashValidation)
- Application manifest has either a different computed hash than the one specified or no hash specified at all.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
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, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (HashValidation)
- File, MyAgenda.exe.manifest, has a different computed hash than specified in manifest.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
All Replies
-
Friday, May 11, 2012 11:53 AM
Hi
Kindly have a look on below thread
Hoe this help...
Rashmi Ranjan Panigrahi
- Marked As Answer by Dan1 Friday, May 11, 2012 5:12 PM
-
Friday, May 11, 2012 5:14 PM
Thanks Rasmi, it worked.
-
Friday, May 11, 2012 7:33 PM
You are Mostly Welcome
Regards
Rashmi Ranjan Panigrahi

