Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to Sign In to Visual Studio 2015

I'm having trouble with "sign in" function in VS 2015. After entering my username\password data i'm getting

A network connection attempt has timed out. This could be a problem either with our service or your local network connection.

But I can connect to live.com and msdn.com easily. What's the problem could be?

like image 681
Horosho Avatar asked Jul 27 '15 14:07

Horosho


People also ask

Is VS 2015 still supported?

Visual Studio 2015 - Microsoft Lifecycle | Microsoft Learn. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Does Visual Studio require sign in?

While you don't have to sign in, there are many advantages to doing so. Use Visual Studio Professional or Visual Studio Enterprise for an additional 90 days, instead of being limited to the trial period of 30 days.

Why would you sign in with a Microsoft account when opening Visual Studio?

In Visual Studio 2013 Preview you can sign in to Visual Studio with a Microsoft account to enable features like synchronized settings that will roam with you to your other Visual Studio devices.


Video Answer


2 Answers

The resolution for me was to changed my Visual Studio proxy settings:

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

from:

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

to:

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

like image 81
devries48 Avatar answered Oct 19 '22 14:10

devries48


My resolution was exactly the opposite to that which worked for @devries48:

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

Locate system.net node and change this from:

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

to:

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

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

  • 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
like image 23
Mark Cooper Avatar answered Oct 19 '22 15:10

Mark Cooper