Failed to install vs2017

ZH Chan 66 Reputation points
2021-11-03T09:29:02.457+00:00

[479c:0001][2021-11-03T17:23:59] Setting the locale to zh-CN.
[479c:0001][2021-11-03T17:23:59] Saving the current locale (zh-CN) to user.json.
[479c:0001][2021-11-03T17:23:59] Setting the telemetry services
[479c:0004][2021-11-03T17:23:59] Creating a new telemetry service.
[479c:0001][2021-11-03T17:23:59] Visual Studio Installer Version: 2.11.40
[479c:0001][2021-11-03T17:23:59] Raw Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" /finalizeInstall install --in "C:\ProgramData\Microsoft\VisualStudio\Packages_bootstrapper\vs_setup_bootstrapper_202111031723558343.json" --locale zh-CN --activityId "95d4dc03-aeca-46da-bc78-65986cc79fe4" --pipe "c60044a7-10f1-433a-982d-d10070c11ef2"
[479c:0001][2021-11-03T17:23:59] Parsed command line options: install --activityId 95d4dc03-aeca-46da-bc78-65986cc79fe4 --channelId VisualStudio.15.Release --channelUri https://aka.ms/vs/15/release/channel --locale zh-CN --pipe c60044a7-10f1-433a-982d-d10070c11ef2 --productId Microsoft.VisualStudio.Product.Professional
[479c:0001][2021-11-03T17:23:59] Using registry value of (N/A) to theme installer.
[479c:0001][2021-11-03T17:23:59] Getting singleton lock. Mutex name: DevdivInstallerUI
[479c:0004][2021-11-03T17:23:59] Telemetry session ID: 299dc58b-bade-44f1-bbf0-5384bf1ad6ff
[479c:0001][2021-11-03T17:23:59] Getting singleton lock succeed.
[479c:0004][2021-11-03T17:23:59] Creating new ExperimentationService
[479c:0004][2021-11-03T17:23:59] Telemetry property VS.ABExp.Flights : lazytoolboxinit;fwlargebuffer;refactoring;spmoretempsbtn1;asloff;keybindgoldbarext;asynccsproj;vsfricheditor;completionapi
[479c:0001][2021-11-03T17:23:59] Monitor center position: 960, 520
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.source : WPF
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.locale : zh-CN
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.installerversion : 2.11.40.25675
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.startmethod : indirect
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.activityid : 95d4dc03-aeca-46da-bc78-65986cc79fe4
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.campaign :
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.passive : False
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.quiet : False
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.processtype : ui
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.force : False
[479c:0004][2021-11-03T17:23:59] Telemetry property vs.willow.noweb : False
[479c:0001][2021-11-03T17:23:59] Navigation requested from ApplicationViewModel to MainPageViewModel
[479c:000b][2021-11-03T17:24:00] Telemetry property VS.SetupEngine.ChannelUpdateDisabled : False
[479c:000b][2021-11-03T17:24:00] Trying to remove channel manifest: C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\Packages_Channels\A0FE1051\installChannelManifest.json
[479c:000b][2021-11-03T17:24:00] Trying to remove product manifest: C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\Packages_Channels\A0FE1051\install_catalog.json
[479c:000b][2021-11-03T17:24:00] Trying to remove channel manifest: C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\Packages_Channels\A0FE1051\installChannelManifest.json
[479c:000b][2021-11-03T17:24:00] Trying to remove product manifest: C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\Packages_Channels\A0FE1051\install_catalog.json
[479c:000b][2021-11-03T17:24:00] Download requested: https://aka.ms/vs/15/release/channel
[479c:000f][2021-11-03T17:24:00] Attempting download 'https://aka.ms/vs/15/release/channel' using engine 'WebClient'
[479c:000f][2021-11-03T17:24:02] WebClient error 'TrustFailure' - proxy setting 'Default' - 'https://aka.ms/vs/15/release/channel'.
[479c:000f][2021-11-03T17:24:02] WebClient failed in 'https://aka.ms/vs/15/release/channel' with '基础连接已经关闭: 未能为 SSL/TLS 安全通道建立信任关系。' - 'https://aka.ms/vs/15/release/channel'.
[479c:000f][2021-11-03T17:24:02] WebClient failed attempting to access https://aka.ms/vs/15/release/channel via 104.79.121.189
[479c:000f][2021-11-03T17:24:02] Download failed using WebClient engine. System.Net.WebException: 基础连接已经关闭: 未能为 SSL/TLS 安全通道建立信任关系。 ---> System.Security.Authentication.AuthenticationException: 根据验证过程,远程证书无效。
在 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.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.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)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Net.HttpWebRequest.GetResponse()
在 Microsoft.VisualStudio.Setup.Download.WebClientEngine.GetWebResponse(Uri uri, DownloadContext downloadContext, DownloadSummary& downloadSummary, HttpWebRequest& webRequest, CancellationToken cancellationToken)
在 Microsoft.VisualStudio.Setup.Download.WebClientEngine.DownloadCore(Uri uri, Stream stream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.DownloadWithBitRate(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.Download(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
[479c:000f][2021-11-03T17:24:02] Sleeping 5000 milliseconds before retrying download.
[479c:000b][2021-11-03T17:24:02] Telemetry property vs.setup.WorkloadOverrides.DidReceiveOverride : False
[479c:000b][2021-11-03T17:24:02] Telemetry property vs.setup.WorkloadOverrides.RuleId : None
[479c:000e][2021-11-03T17:24:03] Uri 'https://go.microsoft.com/fwlink/?linkid=857708' redirected to 'https://sendvsfeedback2.azurewebsites.net/api'
[479c:000f][2021-11-03T17:24:07] Attempting download 'https://aka.ms/vs/15/release/channel' using engine 'Bits'
[479c:0010][2021-11-03T17:24:19] Showing the window.
[479c:0001][2021-11-03T17:24:34] OpenUrlCommand executed. Uri: https://go.microsoft.com/fwlink/?linkid=834731, LinkId: MicrosoftDeveloperCommunity
[479c:0001][2021-11-03T17:24:34] Button clicked: ButtonName: Hyperlink, Action: None, Message: https://go.microsoft.com/fwlink/?linkid=834731
[479c:0001][2021-11-03T17:24:47] OpenUrlCommand executed. Uri: https://go.microsoft.com/fwlink/?linkid=834732, LinkId: VisualStudioSupport
[479c:0001][2021-11-03T17:24:47] Button clicked: ButtonName: Hyperlink, Action: None, Message: https://go.microsoft.com/fwlink/?linkid=834732
[479c:000f][2021-11-03T17:26:07] Canceling job 'VsBitsDownloadJob - 580098095'.
[479c:001a][2021-11-03T17:26:07] Failed job: VsBitsDownloadJob - 580098095
[479c:000f][2021-11-03T17:26:07] Download failed using Bits engine. System.IO.FileNotFoundException: 找不到文件。
文件名:“C:\Users\Administrator\AppData\Local\Temp\tmp6E37.tmp”
在 Microsoft.VisualStudio.Setup.Download.Utilities.CopyFileToStream(String filePath, Stream outStream, ProgressUpdateCallback progress, CancellationToken cancellationToken)
在 Microsoft.VisualStudio.Setup.Download.Bits.BitsEngine.DownloadCore(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.DownloadWithBitRate(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.Download(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
[479c:000f][2021-11-03T17:26:07] Sleeping 10000 milliseconds before retrying download.
[479c:000f][2021-11-03T17:26:17] Attempting download 'https://aka.ms/vs/15/release/channel' using engine 'WinInet'
[479c:000f][2021-11-03T17:26:18] Error in 'InternetOpenUrl' with '12045' - 'Unknown error 12045'.
[479c:000f][2021-11-03T17:26:18] WinInet error 'UnknownError' Function: InternetOpenUrl, HR: -2147012851, Message: Unknown error 12045 - proxy setting 'DefaultCredentialsOrNoAutoProxy' - 'https://aka.ms/vs/15/release/channel'.
[479c:000f][2021-11-03T17:26:18] Error in 'InternetOpenUrl' with '12045' - 'Unknown error 12045'.
[479c:000f][2021-11-03T17:26:18] WinInet error 'UnknownError' Function: InternetOpenUrl, HR: -2147012851, Message: Unknown error 12045 - proxy setting 'DirectAccess' - 'https://aka.ms/vs/15/release/channel'.
[479c:000f][2021-11-03T17:26:18] Error in 'InternetOpenUrl' with '12045' - 'Unknown error 12045'.
[479c:000f][2021-11-03T17:26:18] WinInet failed 'https://aka.ms/vs/15/release/channel' with 'Function: InternetOpenUrl, HR: -2147012851, Message: Unknown error 12045'.
[479c:000f][2021-11-03T17:26:18] Download failed using WinInet engine. Microsoft.VisualStudio.Setup.Download.WrappedWebException: Function: InternetOpenUrl, HR: -2147012851, Message: Unknown error 12045
在 Microsoft.VisualStudio.Setup.Download.WinInet.WinInetEngine.DownloadCore(Uri uri, Stream stream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.DownloadWithBitRate(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.Download(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
[479c:000f][2021-11-03T17:26:18] Error 0x80131500: 无法从“https://aka.ms/vs/15/release/channel”下载通道清单。
在 Microsoft.VisualStudio.Setup.ChannelManager.<AddAsync>d__43.MoveNext()
[479c:000f][2021-11-03T17:26:18] Error 0x80131500: Failed to initialize the app in AppInitializerService.InitializeChannelsAsync: Microsoft.VisualStudio.Setup.ChannelManifestDownloadException: 无法从“https://aka.ms/vs/15/release/channel”下载通道清单。 ---> Microsoft.VisualStudio.Setup.Download.DownloadFailureException: WebClient download failed: 基础连接已经关闭: 未能为 SSL/TLS 安全通道建立信任关系。. Bits download failed: 找不到文件。. WinInet download failed: Function: InternetOpenUrl, HR: -2147012851, Message: Unknown error 12045
在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
在 Microsoft.VisualStudio.Setup.Download.DownloadManager.<>c__DisplayClass23_0.<Download>b__0()
在 System.Threading.Tasks.Task`1.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Microsoft.VisualStudio.Setup.ChannelManager.<GetLatestChannelManifestAsync>d__85.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Microsoft.VisualStudio.Setup.ChannelManager.<AddAsync>d__43.MoveNext()
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.VisualStudio.Setup.ChannelManager.<AddAsync>d__43.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Microsoft.VisualStudio.Setup.Installer.Services.AppInitializerService.<InitializeChannelsAsync>d__17.MoveNext()
在 Microsoft.VisualStudio.Setup.ChannelManager.<AddAsync>d__43.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Microsoft.VisualStudio.Setup.Installer.Services.AppInitializerService.<InitializeChannelsAsync>d__17.MoveNext()
[479c:0006][2021-11-03T17:26:18] Created shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio Installer.lnk
[479c:0006][2021-11-03T17:26:18] Starting C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.windows.exe with arguments /finalizeinstall 6F320B93-EE3C-4826-85E0-ADF79F8D4C61 "Visual Studio Installer" "Microsoft Visual Studio Installer" 2.11.40.25675 0 "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
[479c:0017][2021-11-03T17:26:18] Showing error: 无法从“https://aka.ms/vs/15/release/channel”下载通道清单。
[479c:0006][2021-11-03T17:26:18] Finalizer completed successfully
[479c:001d][2021-11-03T17:26:18] Download requested: https://aka.ms/vs/16/release/channel
[479c:001c][2021-11-03T17:26:18] Attempting download 'https://aka.ms/vs/16/release/channel' using engine 'WebClient'
[479c:0003][2021-11-03T17:26:19] Download requested: https://go.microsoft.com/fwlink/?linkid=2066144
[479c:001f][2021-11-03T17:26:19] Attempting download 'https://go.microsoft.com/fwlink/?linkid=2066144' using engine 'WebClient'
[479c:001c][2021-11-03T17:26:19] WebClient error 'TrustFailure' - proxy setting 'Default' - 'https://aka.ms/vs/16/release/channel'.
[479c:001c][2021-11-03T17:26:19] WebClient failed in 'https://aka.ms/vs/16/release/channel' with '基础连接已经关闭: 未能为 SSL/TLS 安全通道建立信任关系。' - 'https://aka.ms/vs/16/release/channel'.
[479c:001c][2021-11-03T17:26:19] WebClient failed attempting to access https://aka.ms/vs/16/release/channel via 23.2.131.47
[479c:001c][2021-11-03T17:26:19] Download failed using WebClient engine. System.Net.WebException: 基础连接已经关闭: 未能为 SSL/TLS 安全通道建立信任关系。 ---> System.Security.Authentication.AuthenticationException: 根据验证过程,远程证书无效。
在 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)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Net.HttpWebRequest.GetResponse()
在 Microsoft.VisualStudio.Setup.Download.WebClientEngine.GetWebResponse(Uri uri, DownloadContext downloadContext, DownloadSummary& downloadSummary, HttpWebRequest& webRequest, CancellationToken cancellationToken)
在 Microsoft.VisualStudio.Setup.Download.WebClientEngine.DownloadCore(Uri uri, Stream stream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.DownloadWithBitRate(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.Download(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
[479c:001c][2021-11-03T17:26:19] Sleeping 5000 milliseconds before retrying download.
[479c:001f][2021-11-03T17:26:21] Uri 'https://go.microsoft.com/fwlink/?linkid=2066144' redirected to 'https://vsstartpagenewsfeed.azureedge.net/news/vs'
[479c:001f][2021-11-03T17:26:21] Download of 'https://go.microsoft.com/fwlink/?linkid=2066144' succeeded using engine 'WebClient'
[479c:0001][2021-11-03T17:26:23] Button selected: ok
[479c:000e][2021-11-03T17:26:23] Showing error: 找不到与以下参数匹配的产品: \n \nchannelId: VisualStudio.15.Release \nproductId: Microsoft.VisualStudio.Product.Professional
[479c:0001][2021-11-03T17:26:24] Button selected: ok
[479c:001c][2021-11-03T17:26:24] Attempting download 'https://aka.ms/vs/16/release/channel' using engine 'Bits'
[479c:0019][2021-11-03T17:26:24] Max resume attempts for job 'VsBitsDownloadJob - -2079119879' exceeded. Canceling.
[479c:0019][2021-11-03T17:26:24] Canceling job 'VsBitsDownloadJob - -2079119879'.
[479c:001c][2021-11-03T17:26:24] Download failed using Bits engine. System.IO.FileNotFoundException: 找不到文件。
文件名:“C:\Users\Administrator\AppData\Local\Temp\tmp8725.tmp”
在 Microsoft.VisualStudio.Setup.Download.Utilities.CopyFileToStream(String filePath, Stream outStream, ProgressUpdateCallback progress, CancellationToken cancellationToken)
在 Microsoft.VisualStudio.Setup.Download.Bits.BitsEngine.DownloadCore(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.DownloadWithBitRate(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.Download(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, ITelemetryOperation telemetryOperation)
在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature)
[479c:001c][2021-11-03T17:26:24] Sleeping 10000 milliseconds before retrying download.
[479c:0001][2021-11-03T17:26:25] Button clicked: ButtonName: CloseWindow, Action: None, Message:
[479c:0001][2021-11-03T17:26:25] Shutting down the application with exit code 0
[479c:0001][2021-11-03T17:26:25] Releasing singleton lock.
[479c:0001][2021-11-03T17:26:25] Releasing singleton lock succeed.
[479c:0001][2021-11-03T17:26:25] Releasing singleton lock.
[479c:0001][2021-11-03T17:26:25] Singleton lock does not exist. Releasing singleton lock skipped.
[479c:0001][2021-11-03T17:26:25] Closing the installer with exit code 0
[479c:0001][2021-11-03T17:26:25] Exit Code: 0
[479c:0001][2021-11-03T17:26:25] Cleared previous session ID.
[479c:0001][2021-11-03T17:26:27] Failed to delete temporary cache directory 'C:\Users\Administrator\AppData\Local\Temp\db1mnpkk.0xb'. Error: 文件“bkap55us.json”正由另一进程使用,因此该进程无法访问此文件。

Developer technologies Visual Studio Other
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. PengGe-MSFT 3,381 Reputation points
    2021-11-04T02:53:29.903+00:00

    Hi, @ZH Chan

    Welcome to Microsoft Q&A!

    Did you download Visual Studio 2017 Installer from this page?

    Please ensure your network connection is stable. This could have been a temporary server outage at the time you were installing, or a systemic issue with your proxy settings. Please check if you can reach and download the URL in your error report:
    https://aka.ms/vs/16/release/channel

    In addition, this is likely due to firewall or web server settings. Please check if you have specialized anti-virus, app-blocker, or GPO based permission software installed. Temporarily disabling Windows Defender and\or Windows Defender Controlled Folder Access. Then reboot your machine and try to repair the installation. You can also try to update your system to the latest version and then install.

    Sincerely,
    Peng
    *
    If you have extra questions about this answer, please click "Comment". If the answer is the right solution, please click "Accept Answer" and kindly upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.