Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

visual studio 2010 - Cannot 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:

Cannot search for online exensions because an error occured while trying to contact the server

It asks me to enable access to extensions on the vistual studio gallery. I did enable those in Extension Manager Tools/Options page. Internet connection was fine, too.

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

I am running the VS2010 Ultimate trial on another computer and that works fine.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try adding the following to devenv.exe.config (in Common7IDE 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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...