无法连接到任何在线资源 [英] Cannot connect to any online resource

查看:57
本文介绍了无法连接到任何在线资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 7上安装了Visual Studio 2010 Premium.当我尝试连接到在线画廊或在线模板时,出现如下错误消息:

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

它要求我启用对vistual Studio画廊的扩展的访问.我确实在扩展管理器工具/选项"页面中启用了这些功能.互联网连接也很好.

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.

我的计算机防火墙已关闭.我有代理可以连接到Internet,但是当浏览器连接到Internet时,它可以正常工作(即使vs2010中的内部浏览器也可以正常工作).那么,在VS2010中设置代理以连接到其他在线资源的位置在哪里?

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?

我正在另一台计算机上运行VS2010 Ultimate试用版,并且运行正常.

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

推荐答案

尝试将以下内容添加到devenv.exe.config(位于Common7 \ IDE文件夹中):

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.

这篇关于无法连接到任何在线资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆