none
Application Validation did not succeed. Unable to continue.

    Question

  • I was following along with Beth Massie's video on setting up security for my
    application video number 11 in the "how do I" basics series but when
    I got to the step of publishing I ran into some issues. first of all I may not
    be entering the right user name into the Authentication tab when setting up the
    application administrator. There is no network to worry about so I used
    Admin-PC\Admin which I think is right but am not sure. It is probably pretty
    generic because I installed Win7 without worrying about that detail at the
    time.<o:p></o:p>

    The real problem comes after the setup.exe is generated and click on it an error window
    comes up and says "Application Validation did not succeed. Unable to
    continue."

    Can anyone explain what this Means and how it may be Fixed?

    In a details window it shows this--><o:p></o:p>

    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%20Published%20Apps/Services%20Managment.application
     Application url   : file:///C:/Users/Admin/Documents/Visual%20Studio%202010%20Published%20Apps/Application%20Files/Services%20Managment.exe.manifest

    IDENTITIES
     Deployment Identity  : Services Managment.application, Version=1.0.0.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 Published Apps\Services Managment.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, Services Managment.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
     * [1/2/2013 2:08:44 AM] : Activation of C:\Users\Admin\Documents\Visual Studio 2010 Published Apps\Services Managment.application has started.
     * [1/2/2013 2:08:44 AM] : Processing of deployment manifest has successfully completed.
     * [1/2/2013 2:08:44 AM] : Installation of the application has started.

    ERROR DETAILS
     Following errors were detected during this operation.
     * [1/2/2013 2:08:44 AM] 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, Services Managment.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.


    • Edited by reigh7 Wednesday, January 02, 2013 10:29 AM
    Wednesday, January 02, 2013 10:28 AM

Answers

All replies