急!!!win10 无法安装VS2017,visual studio installer下载进度始终为0

梦在旅途 2018-05-06 09:24:11
如题,win10 无法安装VS2017,visual studio installer下载进度始终为0,点击取消按钮后,也没有反应,visual studio installer也关闭不掉,真不知道是什么原因?各位有遇到的情况吗?

我从微软官网下载了N多次的各种版本的VS2017安装包,但都是一个结果,就是无法下载,点击取消【是】也无法正常取消关闭。微软VS2017安装包也做得太差劲了吧!

现在想用VS2017都没法用,目前电脑上只装VS2015
...全文
3731 15 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
heyics 2018-05-13
  • 打赏
  • 举报
回复
用电信网下。移动和 联通别想下载了。
heyics 2018-05-13
  • 打赏
  • 举报
回复
估计需要下载一天吧。 下载完成后 运行 VS_Setup_Offline 目录下的 vs_comm.exe 文件安装
heyics 2018-05-13
  • 打赏
  • 举报
回复
使用离线安装,需要先下载源文件 更新工具下载页 下载到F 盘 VS_Setup 文件夹下 命名为 vs_comm.exe https://www.visualstudio.com/zh-hans/downloads/ 然后运行此命令 F:\VS_Setup>vs_comm.exe --layout F:\VS_Setup\VS_Setup_Offline --lang zh-cn
xiaoxiangqing 2018-05-07
  • 打赏
  • 举报
回复
是不是没有权限,或者下载的安装程序不全
懒笑翻 2018-05-07
  • 打赏
  • 举报
回复
百度下载可以直接下载然后安装吧
懒笑翻 2018-05-07
  • 打赏
  • 举报
回复
百度软件中心搜索visual studio
真相重于对错 2018-05-06
  • 打赏
  • 举报
回复
baidu vs2017 离线安装包 我估计和墙有关。 我在家,基本安不上,单位可以,单位有部分国际线路
  • 打赏
  • 举报
回复
试试看换一个网络环境,甚至可以换成手机 4G 热点上网。
梦在旅途 2018-05-06
  • 打赏
  • 举报
回复
如下是最新的报错日志: Beginning of the log. Start Time: 2018/5/6 10:19:28 VisualStudio Bootstrapper:2018/5/6 10:19:28: Current OptIn value is 1 VisualStudio Bootstrapper:2018/5/6 10:19:28: Commandline arguments = --env _SFX_CAB_EXE_PACKAGE:D:\编程工具\vs2017\vs_enterprise__308067040.1523790148.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:D:\编程工具\vs2017 VisualStudio Bootstrapper:2018/5/6 10:19:28: Parent process name = vs_enterprise__308067040.1523790148 VisualStudio Bootstrapper:2018/5/6 10:19:28: Parent process product version = 15.6.27428.2043 VisualStudio Bootstrapper:2018/5/6 10:19:28: CampaignId = 308067040.1523790148 VisualStudio Bootstrapper:2018/5/6 10:19:28: DownloadURL = https://aka.ms/vs/15/release/installer VisualStudio Bootstrapper:2018/5/6 10:19:28: InstallLocation = C:\Program Files (x86)\Microsoft Visual Studio\Installer VisualStudio Bootstrapper:2018/5/6 10:19:28: OfflineFilePath = VisualStudio Bootstrapper:2018/5/6 10:19:28: LayoutLocation = VisualStudio Bootstrapper:2018/5/6 10:19:28: ExecutableArguments = /finalizeInstall install --in "C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper_201805061019286599.json" --locale zh-CN --activityId "55eb57d6-8a90-4cd7-8d40-190e843ffde8" --campaign "308067040.1523790148" VisualStudio Bootstrapper:2018/5/6 10:19:28: OSVersion = Microsoft Windows NT 10.0.14393.0 VisualStudio Bootstrapper:2018/5/6 10:19:28: Starting to detect the existing VS and .Net... VisualStudio Bootstrapper:2018/5/6 10:19:28: Finished detecting the existing VS and .Net VisualStudio Bootstrapper:2018/5/6 10:19:30: Beginning file download. File = https://aka.ms/vs/15/release/installer. VisualStudio Bootstrapper:2018/5/6 10:19:30: Download requested: https://aka.ms/vs/15/release/installer VisualStudio Bootstrapper:2018/5/6 10:19:30: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'WebClient' VisualStudio Bootstrapper:2018/5/6 10:19:30: WebClient error 'ConnectFailure' - proxy setting 'Default' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:19:30: WebClient error 'ConnectFailure' - proxy setting 'DefaultCredentialsOrNoAutoProxy' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:19:30: WebClient error 'ConnectFailure' - proxy setting 'NetworkCredentials' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:19:30: WebClient error 'ConnectFailure' - proxy setting 'DirectAccess' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:19:30: WebClient failed in 'https://aka.ms/vs/15/release/installer' with '基础连接已经关闭: 无法连接到远程服务器。' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:19:30: Download failed using WebClient engine. System.Net.WebException: 基础连接已经关闭: 无法连接到远程服务器。 ---> System.Net.Sockets.SocketException: 无法加载或初始化请求的服务提供程序。 在 System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) 在 System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6) 在 System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback) 在 System.Net.Connection.CompleteStartConnection(Boolean async, HttpWebRequest httpWebRequest) --- 内部异常堆栈跟踪的结尾 --- 在 System.Net.HttpWebRequest.GetResponse() 在 Microsoft.VisualStudio.Setup.Download.WebClientEngine.GetWebResponse(Uri uri, DownloadContext downloadContext, DownloadSummary& downloadSummary) 在 Microsoft.VisualStudio.Setup.Download.WebClientEngine.DownloadCore(Uri uri, Stream stream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext) 在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.DownloadWithBitRate(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext) 在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.Download(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext) 在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature) VisualStudio Bootstrapper:2018/5/6 10:19:30: Sleeping 5000 milliseconds before retrying download. VisualStudio Bootstrapper:2018/5/6 10:19:35: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'Bits'
梦在旅途 2018-05-06
  • 打赏
  • 举报
回复
从报错日志来看主要问题在: 原因是出现以下错误: 80080005 服务器运行失败 (异常来自 HRESULT:0x80080005 (CO_E_SERVER_EXEC_FAILURE))。 VisualStudio Bootstrapper:2018/5/6 10:02:29: Download failed using Bits engine. System.Runtime.InteropServices.COMException (0x80080005): 检索 COM 类工厂中 CLSID 为 {4991D34B-80A1-4291-83B6-3328366B9097} 的组件失败,原因是出现以下错误: 80080005 服务器运行失败 (异常来自 HRESULT:0x80080005 (CO_E_SERVER_EXEC_FAILURE))。 在 Microsoft.VisualStudio.Setup.Download.Bits.BitsEngine.
梦在旅途 2018-05-06
  • 打赏
  • 举报
回复
经查C:\Users\admin\AppData\Local\Temp下的日志,显示如下:(报错部份) VisualStudio Bootstrapper:2018/5/6 10:00:06: OSVersion = Microsoft Windows NT 10.0.14393.0 VisualStudio Bootstrapper:2018/5/6 10:00:06: Starting to detect the existing VS and .Net... VisualStudio Bootstrapper:2018/5/6 10:00:06: Finished detecting the existing VS and .Net VisualStudio Bootstrapper:2018/5/6 10:00:24: Beginning file download. File = https://aka.ms/vs/15/release/installer. VisualStudio Bootstrapper:2018/5/6 10:00:24: Download requested: https://aka.ms/vs/15/release/installer VisualStudio Bootstrapper:2018/5/6 10:00:24: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'WebClient' VisualStudio Bootstrapper:2018/5/6 10:00:24: WebClient error 'ConnectFailure' - proxy setting 'Default' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:00:24: WebClient error 'ConnectFailure' - proxy setting 'DefaultCredentialsOrNoAutoProxy' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:00:24: WebClient error 'ConnectFailure' - proxy setting 'NetworkCredentials' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:00:24: WebClient error 'ConnectFailure' - proxy setting 'DirectAccess' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:00:24: WebClient failed in 'https://aka.ms/vs/15/release/installer' with '基础连接已经关闭: 无法连接到远程服务器。' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:00:24: Download failed using WebClient engine. System.Net.WebException: 基础连接已经关闭: 无法连接到远程服务器。 ---> System.Net.Sockets.SocketException: 无法加载或初始化请求的服务提供程序。 在 System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) 在 System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6) 在 System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback) 在 System.Net.Connection.CompleteStartConnection(Boolean async, HttpWebRequest httpWebRequest) --- 内部异常堆栈跟踪的结尾 --- 在 System.Net.HttpWebRequest.GetResponse() 在 Microsoft.VisualStudio.Setup.Download.WebClientEngine.GetWebResponse(Uri uri, DownloadContext downloadContext, DownloadSummary& downloadSummary) 在 Microsoft.VisualStudio.Setup.Download.WebClientEngine.DownloadCore(Uri uri, Stream stream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext) 在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.DownloadWithBitRate(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext) 在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.Download(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext) 在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature) VisualStudio Bootstrapper:2018/5/6 10:00:24: Sleeping 5000 milliseconds before retrying download. VisualStudio Bootstrapper:2018/5/6 10:00:29: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'Bits' VisualStudio Bootstrapper:2018/5/6 10:02:29: Skipped BITS download engine: 检索 COM 类工厂中 CLSID 为 {4991D34B-80A1-4291-83B6-3328366B9097} 的组件失败,原因是出现以下错误: 80080005 服务器运行失败 (异常来自 HRESULT:0x80080005 (CO_E_SERVER_EXEC_FAILURE))。 VisualStudio Bootstrapper:2018/5/6 10:02:29: Download failed using Bits engine. System.Runtime.InteropServices.COMException (0x80080005): 检索 COM 类工厂中 CLSID 为 {4991D34B-80A1-4291-83B6-3328366B9097} 的组件失败,原因是出现以下错误: 80080005 服务器运行失败 (异常来自 HRESULT:0x80080005 (CO_E_SERVER_EXEC_FAILURE))。 在 Microsoft.VisualStudio.Setup.Download.Bits.BitsEngine.<>c.b__3_0() 在 System.Lazy`1.CreateValue() 在 System.Lazy`1.LazyInitValue() 在 Microsoft.VisualStudio.Setup.Download.Bits.BitsEngine.DownloadCore(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext) 在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.DownloadWithBitRate(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext) 在 Microsoft.VisualStudio.Setup.Download.DownloadEngineBase.Download(Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext) 在 Microsoft.VisualStudio.Setup.Download.DownloadManager.DownloadWithRetry(IDownloadEngine[] engines, Uri uri, Stream outputStream, ProgressUpdateCallback progress, CancellationToken cancellationToken, DownloadContext downloadContext, Boolean verifySignature) VisualStudio Bootstrapper:2018/5/6 10:02:29: Sleeping 10000 milliseconds before retrying download. VisualStudio Bootstrapper:2018/5/6 10:02:39: Attempting download 'https://aka.ms/vs/15/release/installer' using engine 'WinInet' VisualStudio Bootstrapper:2018/5/6 10:02:40: Error in 'InternetOpenUrl' with '12057' - 'Unknown error 12057'. VisualStudio Bootstrapper:2018/5/6 10:02:40: WinInet error 'UnknownError' Function: InternetOpenUrl, HR: -2147012839, Message: Unknown error 12057 - proxy setting 'DefaultCredentialsOrNoAutoProxy' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:02:40: Error in 'InternetOpenUrl' with '12057' - 'Unknown error 12057'. VisualStudio Bootstrapper:2018/5/6 10:02:40: WinInet error 'UnknownError' Function: InternetOpenUrl, HR: -2147012839, Message: Unknown error 12057 - proxy setting 'DirectAccess' - 'https://aka.ms/vs/15/release/installer'. VisualStudio Bootstrapper:2018/5/6 10:02:41: Error in 'InternetOpenUrl' with '12057' - 'Unknown error 12057'. VisualStudio Bootstrapper:2018/5/6 10:02:41: WinInet failed 'https://aka.ms/vs/15/release/installer' with 'Function: InternetOpenUrl, HR: -2147012839, Message: Unknown error 12057'. 但我手动下载:https://aka.ms/vs/15/release/installer 这个是没有问题的。
  • 打赏
  • 举报
回复
安装过程中是有日志文件的。不过你说“进度始终为0”,这个怎么办?连1%都没有?!
  • 打赏
  • 举报
回复
你可以到别的机器上也试试,看看 vs 2017 安装是否顺利。
梦在旅途 2018-05-06
  • 打赏
  • 举报
回复
网络是OK的,测速也正常,但就是visual studio installer下载进度始终为0,点击取消按钮后,也没有反应,微软VS2017做得也太垃圾了吧!
  • 打赏
  • 举报
回复
看来需要收费上门操作了。

62,243

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧