Failed to log in to Visual Studio 2015.

I am having problems with the "login" feature in VS 2015. After entering my username \ password I get

An attempt was made to connect to the network. This can be a problem either with our service or with your local network connection.

But I can easily connect to live.com and msdn.com. What is the problem?

+6
source share
2 answers

The solution for me was to change the settings of the Visual Studio proxy server:

C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ devenv.exe.config

from

<system.net> <settings> <ipv6 enabled="true"/> </settings> </system.net>

in

<system.net> <defaultProxy useDefaultCredentials="true" enabled="true"> <proxy usesystemdefault="True" /> </defaultProxy> <settings> <ipv6 enabled="true"/> </settings> </system.net>

+6
source

My resolution was exactly the opposite of what worked for @ devries48:

Open C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe.config

Find system.net node and change this:

 <system.net> <defaultProxy useDefaultCredentials="true" enabled="true"> <proxy usesystemdefault="True" /> </defaultProxy> <settings> <ipv6 enabled="true"/> </settings> </system.net> 

in

 <system.net> <settings> <ipv6 enabled="true"/> </settings> </system.net> 

This will depend on your (corporate) proxy settings, for which the approach will work best for you. If you have other instances of Visual Studio, you can also compare the configuration settings for these instances:

  • VS 2017 - C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE
  • VS 2013 - C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
  • VS 2010 - C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
0
source

All Articles