ClickOnce——https

15 篇文章 0 订阅

一、已知错误

平台版本信息
	Windows 			: 6.3.9600.0 (Win32NT)
	Common Language Runtime 	: 4.0.30319.42000
	System.Deployment.dll 		: 4.6.1590.0 built by: NETFXREL2
	clr.dll 			: 4.7.3946.0 built by: NET472REL1LAST_B
	dfdll.dll 			: 4.6.1590.0 built by: NETFXREL2
	dfshim.dll 			: 6.3.9600.20371 (winblue_ltsb_escrow.220429-1726)

源
	部署 URL			: https://test:8004/test.application

错误摘要
	以下是错误摘要,这些错误的详细信息列在该日志的后面。
	* 激活 https://test:8004/test.application 导致异常。 检测到下列失败消息:
		+ 下载 https://test:8004/test.application 未成功。
		+ 基础连接已经关闭: 未能为 SSL/TLS 安全通道建立信任关系。
		+ 根据验证过程,远程证书无效。

组件存储事务失败摘要
	未检测到任何事务错误。

警告
	执行此操作的过程中未出现任何警告。

操作进度状态
	* [2022/6/27 10:50:03] : 已启动 https://test:8004/test.application 的激活过程。

错误详细信息
	执行此操作期间检测到下列错误。
	* [2022/6/27 10:50:03] System.Deployment.Application.DeploymentDownloadException (未知子类型)
		- 下载 https://test:8004/test.application 未成功。
		-: System.Deployment
		- 堆栈跟踪:
			在 System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
			在 System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
			在 System.Deployment.Application.FileDownloader.Download(SubscriptionState subState, X509Certificate2 clientCertificate)
			在 System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
			在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
			在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
			在 System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
			在 System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
		--- 内部异常 ---
		System.Net.WebException
		- 基础连接已经关闭: 未能为 SSL/TLS 安全通道建立信任关系。
		-: System
		- 堆栈跟踪:
			在 System.Net.HttpWebRequest.GetResponse()
			在 System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
		--- 内部异常 ---
		System.Security.Authentication.AuthenticationException
		- 根据验证过程,远程证书无效。
		-: System
		- 堆栈跟踪:
			在 System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
			在 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
			在 System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
			在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
			在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
			在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
			在 System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
			在 System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
			在 System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
			在 System.Net.ConnectStream.WriteHeaders(Boolean async)

组件存储事务详细信息
	没有可用的事务信息。

二、解决办法

将该连接绑定的ssl证书切换为机构颁发的证书。
参考链接

三、再次查看

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值