views:

83

answers:

2

Visual studio 2010 Premium installed on Widnows 7:

when try to connect for online gallery or online template, give me error like: Cannot search for online exensions because an error occured while trying to contact the server

and ask me enable access to extensions on the vistual studio gallery ....

It did enabled in Extension Manager Tools/Options page. Internet connection was fine.

My computer firewall was turned off. I have proxy to connect to internet but it's working fine when browser connect to internet(even internal browser in vs2010 working fine). So where is the place for VS2010 to set up proxy for extension connection?

On another computer: Windows 7, VS2010 utilmate trail version: this was fine.

+2  A: 

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

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

This is a known issue with some proxy servers that will be addressed in a future release.

Aaron Marten
A: 

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/

cbeuker