Cannot connect to any online resource

前端 未结 8 1857
无人及你
无人及你 2020-11-28 02:22

I have Visual studio 2010 Premium installed on Windows 7. When I try to connect to an online gallery or online template, I get an error message like this:

相关标签:
8条回答
  • 2020-11-28 02:55

    The following worked for me, I got this from the blog entry listed below.

    in the devenv.exe.config file, in the <system.net> section add:

    <defaultProxy useDefaultCredentials="true" enabled="true">
        <proxy usesystemdefault="True" />
    </defaultProxy>
    

    reference: http://gurustop.net/blog/2010/08/10/visual-studio-2010-extension-manager-online-gallery-behind-internet-proxy/

    0 讨论(0)
  • 2020-11-28 02:58

    For me, the above config changes does not work in you're in a Windows Active Directory environment. Comment whatever you put in above out altogether.

    What I did:

    Go into Credentials Manager (Windows 7 or 8) and add the proxy credentials of whatever username that comes up in the proxy dialog, e.g. VSCredentials_corp-proxy.domain.local/username and then your Windows password.

    Bada bing, I'm in!

    0 讨论(0)
  • 2020-11-28 02:59

    I had to do a bit of all the above to get mine working. My system.net settings:-

    <system.net>
        <defaultProxy useDefaultCredentials="true" enabled="true">
            <proxy proxyaddress="http://your.proxyserver.ip:port"/>
        </defaultProxy>
        <settings>
            <ipv6 enabled="true"/>
            <servicePointManager expect100Continue="false" />
        </settings>
    </system.net>
    
    0 讨论(0)
  • 2020-11-28 03:03

    In my case, Visual Studio refused to read the settings from internet explorer. I finally got it to work by explicitely giving the url to the proxy and setting the servicePointManager expect100Continue to false. To manually add the proxy address, the xml looks like this:

    <defaultProxy>
        <proxy proxyaddress="http://your.proxyserver.ip:port"/>
    </defaultProxy>
    
    0 讨论(0)
  • 2020-11-28 03:10

    you can add following settings in devenv.exe.config

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

    0 讨论(0)
  • 2020-11-28 03:17

    For me, having IE proxy did not help. However setting the OS proxy on windows server 2008 r2 x64 helped.

    netsh winhttp set proxy myproxy.corp.com:80

    and to view the settings: netsh winhttp show proxy

    0 讨论(0)
提交回复
热议问题