I'm trying to install Visual Studio 2019 Community Edition on Windows 10.
I have downloaded the web installer from the official site. Once I click on the installer, I get stuck on this screen, which says 'Downloading: 0B of 0B'
Stuck on this screen
I checked the installation log, which shows below message.
"VisualStudio Bootstrapper:02/12/2020 2:50:48 PM: WebClient failed in 'https://aka.ms/vs/16/release/installer' with 'The operation has timed out' - 'https://aka.ms/vs/16/release/installer'.
VisualStudio Bootstrapper:02/12/2020 2:50:48 PM: WebClient failed attempting to access https://aka.ms/vs/16/release/installer via 23.13.51.44
VisualStudio Bootstrapper:02/12/2020 2:50:48 PM: Download failed using WebClient engine. System.Net.WebException: The operation has timed out"
I tried accessing the URL 'https://aka.ms/vs/16/release/installer' from Google Chrome, and the file got downloaded.
However, when I tried to browser the same URL through Internet Explorer 11, I realized that there is a redirect to 'https://download.visualstudio.microsoft.com/download/pr/9d2147aa-7b01-4336-b665-8fe07735e5ee/D6E0778F57A0F56302E6AD5B55B0423E148CCE2244A5D6047C3256E841052A23/vs_installer.opc'
The redirected URL is accessible through Google Chrome (It downloads Visual Studio Installer), but I just getting loading screen in IE, and I cannot open Developers Tools to check what the problem is.
IE Screen
I'm assuming Web Installer is following IE's process, and hence cannot download the necessary files.
How do I move ahead from here?
I have had the same problem. I solved it by restoring default setting of windows brandmauer and turning on windows defender.
According to the log you posted,
WebClient failed attempting to access https://aka.ms/vs/16/release/installer via 23.13.51.44
Download failed using WebClient engine. System.Net.WebException: The operation has timed out"
Please check there have 3rd party anti-virus software enabled or enterprise group policy in place that might block the download. And temporarily disabling Windows Defender and\or Windows Defender Controlled Folder Access.
If you install Visual Studio behind a firewall or proxy server, then there are domain URLs that you can add to an “allow list” so that you have the best experience when you install and use Visual Studio.
Please refer to this document about more details: https://learn.microsoft.com/en-us/visualstudio/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server?view=vs-2019#install-visual-studio
Related
Since today for some reason I'm unable to connect to the NuGet package manager through Visual Studio.
[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
Authentication failed because the remote party has closed the transport stream.
But I cannot get it to work again...
Things I tried.
Delete NuGet.config
Clear NuGet cache
Disable TLS1.0 and TLS1.1 explicitly
Enabled TLS1.2 explicitly
followed the manual from nuget at https://devblogs.microsoft.com/nuget/deprecating-tls-1-0-and-1-1-on-nuget-org/
Different Visual Studios
Update to the latest Visual Studio 2019
Tried different TLS settings in the RegEdit for 1.0, 1.1 and 1.2. I don't have a TLS1.3 section yet.
I can browse to https://api.nuget.org/v3/index.json with chrome
TLS1.2 Client settings:
TLS1.2 Server settings:
Specs:
Windows Server 2012R2, Visual Studio 2019
Also tried it on a different Windows Server 2012R2 machine and same problem
It is still working on my laptop with Windows 10.
Hopefully someone has an idea.
Thanks
I had the same problem.
The solution was to install the microsoft/artifacts-credprovider as mentioned here
Invoke-Expression "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx"
Had exactly the same problem, running script from https://github.com/microsoft/azure-devops-tls12 and following instructions from it helped me.
In my case it generated additional script file, after running that and restaring pc nuget was working once again.
I simply wish to install Visual Studio 2017 to compile a project.
Trying to install via the installer obtained from Microsoft fails after being unable to obtain the .opc file from aka.ms (found that after checking logs in %Temp%)
Moved to a full install version with all files and .opc file present. Installer still attempts to download from the web. Fails saying it is unable to download.
Tried running installed with --layout pointing toward the location of the offline files, same error.
Installed certificates from the certificates folder both in Personal and Trusted Root stores, no difference.
Tried starting CNG Key Isolation service, fails with error 1053
Microsoft support transferred me three times before saying the problem is on their end, so how, if one were to have no internet connection and evidently has all files required for install available, install this, if the installer stubbornly attempts to download from the web?
Is there a KB I am missing or some procedure I have to follow with the full installers?
In my case it is the network firewall blocking the downloading because the downloading involve not only main Microsoft visual studio site which is allowed in our network but also some url like https://aka.ms which is blocked by our firewall.the error is listed in c:\users\myusername\appdata\local\temp\dd_bootstrapper_xxx.log
It appears from what you have submitted you are attempting to download a offline copy of Visual Studio. It also appears that you are attempting to run the file originally downloaded to create the bootstrapper for the installation.
You want to instead launch the setup executable which is actually in the layout folder.
Hope this helps. ^^
Appears the cause for this was the service disclosure debug, disabling the debug, binding all services back into the svchost and after rebooting the service is working again. I have been able to install VS now.
I've been unable to get Visual Studio, running on my development machine, to successfully deploy to a Surface Book on my local network. Error message is included below. On the Surface Book I've installed Remote Tools for Visual Studio, and set up Developer Mode. VS on my development machine shows me the SB, and allows me to select if from a list of deployment targets, including it's Authentication type, but deployment fails.
There is a "pair" option on the SB, which I haven't been able to make work & I'm not sure if it's necessary. In addition, I saw a post saying this option (local network) was no longer supported. Is it still supported, and if so, any idea what I'm doing wrong?
Error Message:
Error DEP6957: Failed to connect to device '10.0.0.179' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. COMException - Error HRESULT E_FAIL has been returned from a call to a COM component. [0x80004005]
To remote debug a uwp app, we should install the corresponding version Remote Tools for Visual Studio, before we can deploy the app to the remote device, we should configure the Remote Debugger tool. See the Run UWP apps on a remote machine in Visual Studio for details.
For your this issue, it should be you select the Windows authentication mode in your Visual Studio as the follow image, but you don't have access to the credentials of the signed-in user of the target machine. In your VS, you should use the credentials of the signed-in user of the target machine to deploy your app when the VS popup the permission window. See the Authentication modes to learn the differences.
On the other hand, you can also try to use the None authentication mode to remote deploy your app as the following steps.
Firstly, in the Visual Studio Remote Debugger of the target device, select Tools=> Options to configure the options Window as bellow,
Then in your Visual studio, right click your UWP project=> properties=> Debug to cofigure it as None authentication mode.
The answer from Breeze Liu was very helpful, and got me most of the way to the solution. The final step that I was missing was to add my account to the Remote Debugger's permission list. It's found at Remote Debugger>Tools>Permissions. I had to add my account on the target machine to the list of "permitted" debuggers.
The WWW Pub Service was working fine before I installed the Win10 Fall Creators Update.
Now I get this error
HTTP Error 503. The service is unavailable.
I'm simply trying to load a local web page with a browser (simple html, not asp.net page).
http://localhost/html/home/index.html
Edge and Firefox give the same error.
Is there anything in the Win10 FCU that would have made config changes in IIS?
PS. I also installed the latest version of Visual Studio Community ed 2017. But I don't think that should have affected IIS.
Stop “Windows Process Activation Service” and “W3SVC” service and clean out (delete) all the files under C:\Inetpub\temp\AppPools*. Start your services and the sites should be back to work.
Source: https://www.ajeetyelandur.com/2017/10/Windows-10-Fall-Creators-update-crashes-App-Pool/
I've just finished talking to the "Microsoft Support Chat" and he told me to post this here (i can't post it on the developercommunity forums because i need to click a button in the installer which isn't there at that stage).
When I'm trying to run the VS Enterprise 2017 installer (or any other edition) the installer cancels with the error message: "Unable to download installation files. Check your internet connection and try again."
What I tried so far:
Running as Administrator
Downloading the installer with a different browser
Using the --layout option to download files first (same error message, no files downloaded)
Installing the certificates
Using the --update option before running the installer regularly
Running the Windows 10 Windows Update Troubleshooter (couldn't identify the problem)
Disabling Bitdefender Antivirus
Multiple Reboots/Re-Downloads
One more thing that might be helpful is that quite a while back when i was installing "Cyber Ghost VPN" on the same machine i had trouble connecting using that application because a windows service that should've been active wasn't running.
Also I would've included the Logs from running the vscollect tool but i can't seem to figure out how to attach a file here. Do i have to upload it somewhere else and include the link or is there a way i can just attach the file here?
It could be a certificate issue, maybe your time and region are not set correctly, so the certificate is in a different date than the server. I followed this three spets a couple weeks ago and it worked.
Install the certificates, usually in "certificates" folder,(inside Layout folder).
Right-click each one to install it with administrator rigths.
3.Run the installation file.