问题描述
自从上一次Windows更新以来,我的工作应用程序遇到了问题。 该程序仅可在线使用,并且在最后一次大型Windows更新之前运行良好。 Edge抱怨无法下载的清单。 如果我使用旧版IE或将链接复制到资源管理器,则可以像以前一样正常工作。
我尝试使用“ ClickOnce清单”对应用程序进行签名,或者尝试通过Assembly进行签名,但是仍然存在相同的错误。 清单数据总是包含在内,甚至新创建的清单或嵌入的清单也会出现相同的问题。 (这是一个app.manifest xml文件)
INFO ZUR PLATTFORMVERSION
Windows : 10.0.18363.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.8.4200.0 built by: NET48REL1LAST_C
clr.dll : 4.8.4200.0 built by: NET48REL1LAST_C
dfdll.dll : 4.8.4200.0 built by: NET48REL1LAST_C
dfshim.dll : 10.0.18362.1 (WinBuild.160101.0800)
QUELLEN
Bereitstellungs-URL : file:///C:/Users/myself/Downloads/MyProgram%20(11).application
IDENTITÄTEN
Bereitstellungsidentität : MyProgram.application,Version=3.0.0.37,Culture=neutral,PublicKeyToken=760019a0718d98b6,processorArchitecture=x86
ZUSAMMENFASSUNG FÜR ANWENDUNG
* Reine Onlineanwendung.
FEHLERZUSAMMENFASSUNG
Es folgt eine Zusammenfassung der Fehler. Details zu diesen Fehlern werden später im Protokoll aufgelistet.
* Die Aktivierung von C:\Users\myself\Downloads\MyProgram (11).application führte zu einer Ausnahme. Folgende Fehlermeldungen wurden entdeckt:
+ 'file:///C:/Users/myself/Downloads/Application Files/MyProgram_3_0_0_37/MyProgram.exe.manifest' konnte nicht gedownloadet werden.
+ Ein Teil des Pfades "C:\Users\myself\Downloads\Application Files\MyProgram_3_0_0_37\MyProgram.exe.manifest" konnte nicht gefunden werden.
+ Ein Teil des Pfades "C:\Users\myself\Downloads\Application Files\MyProgram_3_0_0_37\MyProgram.exe.manifest" konnte nicht gefunden werden.
+ Ein Teil des Pfades "C:\Users\myself\Downloads\Application Files\MyProgram_3_0_0_37\MyProgram.exe.manifest" konnte nicht gefunden werden.
FEHLERZUSAMMENFASSUNG FÜR DIE SPEICHERTRANSAKTION DER KOMPONENTE
Es wurde kein Transaktionsfehler festgestellt.
WARNUNGEN
Während dieses Vorgangs gab es keine Warnungen.
FORTSCHRITTsstATUS DES VORGANGS
* [28.09.2020 17:09:07] : Die Aktivierung von C:\Users\myself\Downloads\MyProgram (11).application wurde gestartet.
* [28.09.2020 17:09:07] : Das Verarbeiten des Bereitstellungsmanifestes wurde erfolgreich abgeschlossen.
* [28.09.2020 17:09:07] : Die Installation der Anwendung wurde gestartet.
FEHLERDETAILS
Folgende Fehler wurden bei diesem Vorgang entdeckt.
* [28.09.2020 17:09:07] System.Deployment.Application.DeploymentDownloadException (unbekannter Untertyp)
- 'file:///C:/Users/myself/Downloads/Application Files/MyProgram_3_0_0_37/MyProgram.exe.manifest' konnte nicht gedownloadet werden.
- Quelle: System.Deployment
- Stapelüberwachung:
bei System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
bei System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
bei System.Deployment.Application.FileDownloader.Download(SubscriptionState subState,X509Certificate2 clientCertificate)
bei System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri,String targetPath,IDownloadNotification notification,DownloadOptions options,Server@R_914_4045@ion& server@R_914_4045@ion)
bei System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest,String targetDir,Uri deploymentUri,Uri& appSourceUri,String& appManifestPath)
bei System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState,ActivationDescription actDesc,Int64 transactionId,TempDirectory& downloadTemp)
bei System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState,ActivationDescription actDesc)
bei System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri,Boolean isShortcut,String textualSubId,String deploymentProviderUrlFromExtension,browserSettings browserSettings,String& errorPageUrl,Uri& deploymentUri)
bei System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri,String& errorPageUrl)
--- Ende der Stapelüberwachung vom vorhergehenden Ort,an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptiondispatchInfo.Throw()
bei System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri,String& errorPageUrl)
bei System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Interne Ausnahme ---
System.Net.WebException
- Ein Teil des Pfades "C:\Users\myself\Downloads\Application Files\MyProgram_3_0_0_37\MyProgram.exe.manifest" konnte nicht gefunden werden.
- Quelle: System
- Stapelüberwachung:
bei System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
bei System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Interne Ausnahme ---
System.Net.WebException
- Ein Teil des Pfades "C:\Users\myself\Downloads\Application Files\MyProgram_3_0_0_37\MyProgram.exe.manifest" konnte nicht gefunden werden.
- Quelle: System
- Stapelüberwachung:
bei System.Net.FileWebResponse..ctor(FileWebRequest request,Uri uri,FileAccess access,Boolean asyncHint)
bei System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Interne Ausnahme ---
System.IO.DirectoryNotFoundException
- Ein Teil des Pfades "C:\Users\myself\Downloads\Application Files\MyProgram_3_0_0_37\MyProgram.exe.manifest" konnte nicht gefunden werden.
- Quelle: mscorlib
- Stapelüberwachung:
bei System.IO.__Error.WinIOError(Int32 errorCode,String maybeFullPath)
bei System.IO.FileStream.Init(String path,FileMode mode,Int32 rights,Boolean useRights,FileShare share,Int32 bufferSize,FileOptions options,Security_ATTRIBUTES secAttrs,String msgPath,Boolean bFromProxy,Boolean useLongPath,Boolean checkHost)
bei System.IO.FileStream..ctor(String path,Boolean bFromProxy)
bei System.Net.FileWebStream..ctor(FileWebRequest request,String path,FileShare sharing,Int32 length,Boolean async)
bei System.Net.FileWebResponse..ctor(FileWebRequest request,Boolean asyncHint)
DETAILS ZUR SPEICHERTRANSAKTION DER KOMPONENTE
Es sind keine Transaktions@R_914_4045@ionen verfügbar.
解决方法
尝试在 EDGE 中启用 ClickOnce
:
edge://flags/#edge-click-once -> Enable it
https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#clickonceenabled