Unable to connect to any online resource

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:

Unable to search the Internet because an error occurred while trying to contact the server

He asks to enable access to extensions in the vistual studio gallery. I turned them on on the Tools / Extension Options page. The internet connection was wonderful too.

My firewall computer has been shut down. I have a proxy for connecting to the Internet, but it works fine when the browser connects to the Internet (even the internal browser in vs2010 works fine). So, where is the place in VS2010 to configure the proxy to connect to other online resources?

I am running a trial version of VS2010 Ultimate on another computer and it works great.

+82
visual-studio visual-studio-2010
May 18 '10 at 16:27
source share
8 answers

Try adding the following to the devenv.exe.config file (in the Common7 \ IDE folder):

<configuration> <system.net> <settings> <servicePointManager expect100Continue="false" /> </settings> </system.net> </configuration> 

This is a known issue with some proxies that will be discussed in a future version.

+133
Jun 30 '10 at 17:46
source share

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

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

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

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

+31
Aug 16 '10 at 19:46
source share

I had to do a bit of everything above to get going. 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> 
+26
Oct 26 '11 at 8:09
source share

In my case, Visual Studio refused to read the settings from Internet Explorer. I finally got it to work by explicitly specifying the proxy server url and setting the servicePointManager parameter to false100Continue false. To manually add a proxy address, xml looks like this:

 <defaultProxy> <proxy proxyaddress="http://your.proxyserver.ip:port"/> </defaultProxy> 
+13
Feb 14 2018-11-11T00:
source share

Something worked for me in Internet Explorer by opening the Tools> Internet Options> Connections> LAN Settings dialog box and changing the Automatically Detect Settings and Proxy Server settings. Depending on the type of connection, you may need to change these settings to make it work.

+5
Sep 03 '12 at 8:32
source share

For me, IE proxy did not help. However, setting up an OS proxy on a Windows 2008 r2 x64 server helped.

netsh winhttp set proxy myproxy.corp.com:80

and to view the settings: netsh winhttp show proxy

0
Feb 06 '14 at 11:52
source share

For me, the above configuration changes do not work in the Windows Active Directory environment. Comment on everything you put above.

What I've done:

Go to Credential Manager (Windows 7 or 8) and add proxy credentials to any username that appears in the proxy dialog. VSCredentials_corp-proxy.domain.local / username and then the password for Windows.

Bada bing, I am!

0
Mar 04 '14 at 16:07
source share

you can add the following parameters to devenv.exe.config file

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

0
Oct. 22 '14 at 10:19
source share



All Articles