Bonjour,
J'essaye de proposer aux utilisateurs de mon appli une mise à jour manuelle en cliquant sur le lien du fichier .application sur mon site, mais ça télécharge la MAJ ,puis ça plante avec l'erreur suivante :


RÉSUMÉ DES ERREURS
Un résumé des erreurs est fourni ci-dessous. Les détails de ces erreurs sont indiqués plus loin dans le fichier journal.
* L'activation de http://www.monsite.com/uploader/Uplo...te.application a provoqué une exception. Les messages d'erreur suivants ont été détectés :
+ Le fichier Upload_Mon_Site.resources.dll possède un hachage calculé différent de celui spécifié dans le manifeste.

RÉSUMÉ DES ERREURS DE LA TRANSACTION DU MAGASIN DE COMPOSANTS
Aucune erreur de transaction n'a été détectée.

AVERTISSEMENTS
Aucun avertissement n'a été émis pendant cette opération.

ÉTAT DE LA PROGRESSION DE L'OPÉRATION
* [30/05/2007 07:58:35] : L'activation de http://www.monsite.com/uploader/Uplo...te.application a commencé.
* [30/05/2007 07:58:35] : Traitement du manifeste de déploiement terminé.
* [30/05/2007 07:58:35] : L'installation de l'application a commencé.
* [30/05/2007 07:58:35] : Traitement du manifeste de l'application terminé.
* [30/05/2007 07:58:36] : Requête de confiance et détection de plateforme terminée.

DÉTAILS DE L'ERREUR
Les erreurs suivantes ont été détectées au cours de cette opération.
* [30/05/2007 07:58:37] System.Deployment.Application.InvalidDeploymentException (HashValidation)
- Le fichier Upload_Mon_Site.resources.dll possède un hachage calculé différent de celui spécifié dans le manifeste.
- Source : System.Deployment
- Trace de la pile :
à System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
à System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
à System.Deployment.Application.ComponentVerifier.FileComponent.Verify()
à System.Deployment.Application.ComponentVerifier.VerifyComponents()
à System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
à System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
à System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)
à System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
à System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

DÉTAILS DE LA TRANSACTION DU MAGASIN DE COMPOSANTS
Aucune information disponible sur la transaction.
Le code du lancement de la MAJ :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
        Try
            Process.Start("iexplore.exe", LienMAJ)
        Catch ex As Exception
            MsgBox("Attention il y eu une erreur : " & ex.Message)
        End Try
    End Sub
End Class