G
Guest
I'm not sure this is the group that I should post my questions, if not,
please refer me to the right one. Thanks
I have .net 2.0 in Microsoft Window Server 2003 Web Edition server, I'm
using mage.exe to update the manifest for my ClickOnce application. The
following is the commands that I use to update and sign
mage -Update GUI.exe.manifest -fd .\temp -Version 5.0.2.6
mage -Sign GUI.exe.manifest -CertFile tempkey.pfx -Password test
mage -Sign GUI.application -CertFile tempkey.pfx -Password test
However, when I click on GUI.application file, I got "Application manifest
has either a different computed hash than the one specified or no hash
specified at all. " and "File, GUI.exe.manifest, has a different computed
hash than specified in manifest."
The following is the detail error, does anyone know how to fix it? Thanks
Angela
ERROR DETAILS
Following errors were detected during this operation.
* [4/5/2007 1:30:50 PM]
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.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)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (HashValidation)
- File, GUI.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)
please refer me to the right one. Thanks
I have .net 2.0 in Microsoft Window Server 2003 Web Edition server, I'm
using mage.exe to update the manifest for my ClickOnce application. The
following is the commands that I use to update and sign
mage -Update GUI.exe.manifest -fd .\temp -Version 5.0.2.6
mage -Sign GUI.exe.manifest -CertFile tempkey.pfx -Password test
mage -Sign GUI.application -CertFile tempkey.pfx -Password test
However, when I click on GUI.application file, I got "Application manifest
has either a different computed hash than the one specified or no hash
specified at all. " and "File, GUI.exe.manifest, has a different computed
hash than specified in manifest."
The following is the detail error, does anyone know how to fix it? Thanks
Angela
ERROR DETAILS
Following errors were detected during this operation.
* [4/5/2007 1:30:50 PM]
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.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)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (HashValidation)
- File, GUI.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)