2016-03-25 16 views
0

Einer unserer Kunden hat eine Aktualisierung seiner ClickOnce-Anwendung nach der Bereitstellung einer neuen Version (Upgrade von Version 2 auf Version 3).Einmalige Bereitstellung: Das Herunterladen von XXX.manifest war nicht erfolgreich. (404) Nicht gefunden

Zuerst, als er die Anwendung ausführte, schien es nicht zu erkennen, dass eine neue Version bereitgestellt wurde. Später, nach dem manuellen Herunterladen der neuesten Datei AssemblyName.application vom Application Server (von der URL, in der die Anwendung veröffentlicht wurde), wurde der folgende Fehler angezeigt, bei dem aus irgendeinem Grund nach der alten Bereitstellung gesucht wird (was nicht funktioniert Es existiert nicht mehr, weil es durch das neue ersetzt wurde. Die "lustige" Sache ist, dass wir diese Version von verschiedenen Maschinen & Standorten installiert haben und es hat gut für alle außer den 2 Jungs "hinter diesem Proxy" funktioniert. Dies ist die Fehlermeldung, sie bekommen:


ERROR SUMMARY 
    Below is a summary of the errors, details of these errors are listed later in the log. 
    * Activation of example.com/YYY/Client/AppName.application resulted in exception. Following failure messages were detected: 
     + Downloading example.com/YYY/Client/Application Files/AppName_2_0_0_0/AppName.exe.manifest did not succeed. 
     + The remote server returned an error: (404) Not Found. 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
    No transaction error was detected. 

WARNINGS 
    There were no warnings during this operation. 


ERROR DETAILS 
    Following errors were detected during this operation. 
    [22/03/2016 08:59:18] System.Deployment.Application.DeploymentDownloadException (Unknown subtype) 
     - Downloading example.com/YYY/Client/Application Files/AppName_2_0_0_0/AppName.exe.manifest did not succeed. 
     - Source: System.Deployment 
     - Stack trace: 
      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.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation) 
      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, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) 
      at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) 
     --- Inner Exception --- 
     System.Net.WebException 
     - The remote server returned an error: (404) Not Found. 
     - Source: System 
     - Stack trace: 
      at System.Net.HttpWebRequest.GetResponse() 
      at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) 

COMPONENT STORE TRANSACTION DETAILS 
    No transaction information is available. 

DETAILED EXECUTION FLOW 
... 
[08:59:14] : DownloadQueueItem : _sourceUri = example.com/YYY/Client/AppName.application, _targetPath = D:\Users\UserName\AppData\Local\Temp\Deployment\MCX7AOC4.6KW\7E3KZCJY.P28.application 
[08:59:16] : HttpWebRequest= Proxy.IsByPassed=False, ProxyUri=http://BLAproxy.BLA.com:8080/ 
[08:59:17] : HttpWebResponse=ResponseUri=example.com/YYY/Client/AppName.application 
[08:59:17] : Method Call : ManifestReader.FromDocumentNoValidation(D:\Users\UserName\AppData\Local\Temp\Deployment\MCX7AOC4.6KW\7E3KZCJY.P28.application) called. 
[08:59:17] : expectedAppId=example.com/YYY/Client/AppName.application#AppName.application, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0e37c329267e5e4f, processorArchitecture=msil/AppName.exe, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0e37c329267e5e4f, processorArchitecture=msil, type=win32 
[08:59:17] : Reparse the deployment manifest for validations. 
[08:59:17] : Method Call : ManifestReader.FromDocument(D:\Users\UserName\AppData\Local\Temp\Deployment\MCX7AOC4.6KW\7E3KZCJY.P28.application) called. 
[08:59:17] : Schema validation passed. 
[08:59:17] : Manifest is parsed successfully. 
[08:59:17] : Semantic validation passed. 
[08:59:18] : Signature validation passed. 
[08:59:18] : Method Call : FollowDeploymentProviderUri called. 
[08:59:18] : Deployment manifest zone is not local machine. Zone = Internet 
[08:59:18] : providerUri=example.com/YYY/Client/AppName.application,sourceUri=example.com/YYY/Client/AppName.application 
[08:59:18] : Deployment provider not followed. 
[08:59:18] : Processing of deployment manifest has successfully completed. 
[08:59:18] : Could not find application in store. Continue with downloading application manifest. 
[08:59:18] : Method Call : InstallApplication called. 
[08:59:18] : Method Call : DownloadApplication called. 
[08:59:18] : Start processing application manifest. 
[08:59:18] : Method Call : DownloadApplicationManifest called. 
[08:59:18] : Method Call : DownloadManifest called. 
[08:59:18] : Method Call : DownloadManifestAsRawFile called. 
[08:59:18] : Method Call : DownloadSingleFile called 
[08:59:18] : DownloadQueueItem : _sourceUri = example.com/YYY/Client/Application Files/AppName_2_0_0_0/AppName.exe.manifest, _targetPath = D:\Users\UserName\AppData\Local\Temp\Deployment\YLJO3ZJO.CAB\T2LP22AQ.EZX\AppName.exe.manifest 
[08:59:18] : HttpWebRequest= Proxy.IsByPassed=False, ProxyUri=http://BLAproxy.BLA.com:8080/ 

Hat jemand eine Idee, was aufgetreten sein könnte? Wir haben einige Vermutungen, aber da ich Ihre Antworten nicht gerne konditionieren würde, werde ich sie vorerst nicht erwähnen.

Vielen Dank im Voraus für Ihre Hilfe !!!

Antwort

2

Für den Fall, dass es in der Zukunft helfen kann: Es war ein Problem mit dem Proxy, der eine alte Version des Application Deployment Manifests zwischenspeichert.

Neben der Deinstallation der Anwendung (in der Systemsteuerung) & Löschen des ClickOnce-Dateicache (% userprofile% \ AppData \ Local \ Apps \ 2.0 *. *) Wie im folgenden Link beschrieben hat viele Probleme in der behoben Vergangenheit auch: https://support.microsoft.com/en-us/kb/2713442

Hoffe, das kann jemand irgendwann helfen ...