最近,我在下载ClickOnce
安装应用程序时遇到了问题。
当我输入我的凭据并单击登录时,我在弹出窗口中出现以下错误,
“应用程序下载失败。检查您的网络连接,或联系管理员或网络服务提供商”。
当我点击下面的详细信息时,会在记事本中打开消息:
PLATFORM VERSION INFO
Windows : 6.0.6002.131072 (Win32NT)
Common Language Runtime : 4.0.30319.18408
System.Deployment.dll : 4.0.30319.34244 built by: FX452RTMGDR
clr.dll : 4.0.30319.18408 built by: FX451RTMGREL
dfdll.dll : 4.0.30319.34244 built by: FX452RTMGDR
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url : "url"
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of "url" resulted in exception. Following failure messages were detected:
+ Downloading "url" did not succeed.
+ The remote server returned an error: (401) Unauthorized.
+ The logon attempt failed
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [11-12-2014 20:04:24] : Activation of "url" has started.
ERROR DETAILS
Following errors were detected during this operation.
* [11-12-2014 20:04:25] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading "url" did not succeed.
- Source: System.Deployment
- Stack trace:
""
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (401) Unauthorized.
- Source: System
- Stack trace:
""
--- Inner Exception ---
System.ComponentModel.Win32Exception
- The logon attempt failed
- Source: System
- Stack trace:
""
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
此外,我们在同一台服务器上托管了另一个应用程序,该服务器具有相同的ClickOnce
安装,可以下载并成功启动此应用程序。