2010-01-12 102 views
2

昨晚我的Visual Studio工作正常。今天它无法连接到互联网(无法下载rss提要或连接到我的TFS服务器)。Visual Studio互联网连接失败

我的网络连接工作正常(我正在使用它来写这个)。

这是什么原因造成的?有没有可以解决的设置?

我唯一的线索是Resharper给我一些奇怪的错误。

System.ArgumentException: Invalid XML. Missing required tag for type 'System.Security.Policy.PolicyStatement'. 
System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for system.net/settings: Invalid XML. Missing required tag for type 'System.Security.Policy.PolicyStatement'. (C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe.Config line 155) ---> System.ArgumentException: Invalid XML. Missing required tag for type 'System.Security.Policy.PolicyStatement'.

我已经检查它提到(devenv.exe.Config)的文件,它是同谁是没有问题的一个同事。

事情我已经尝试:

  • 禁用ReSharper的
    • 导致该错误消息消失,但不解决问题。
  • 重启
  • 系统还原
  • “的netsh Winsock的复位” +重启

任何建议,将不胜感激。


更多信息:
当我尝试连接到我的TFS服务器我得到这个错误:

TF31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server MyTFSServer. The Team Foundation Server returned the following error: Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section..

我不知道这意味着什么

+0

也许这是你的代理服务器设置 – Nick 2010-01-12 19:41:07

+0

问题自己做那些改变? (我甚至不知道在哪里改变它们,所以我相当肯定我没有故意这样做。) – Vaccano 2010-01-12 20:04:39

回答

5

这个问题是相似的:

TFS cannot retrieve the list of team projects

我不知道为什么这打破了或什么真正的“修正为”,但这里的工作线程(不接受的答案左右,但应是)。

在Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ IDE \ devenv.exe.config中注释掉system.net设置。像这样:

<system.net> 
<!-- <settings> 
     <ipv6 enabled="true"/> 
    </settings> 
--> 
</system.net> 

John Cheng为了解这个而感到很荣幸!

(如果有人发现为什么发生这种情况,什么真正的修复程序,我会接受的答案。)

+0

我注释了整个system.net部分,它神奇地工作。 – sennett 2013-01-07 22:23:05

0

你试过卸载整形器?

或许“修复”之后的Visual Studio?也许重新安装VS2008的SP1可能会有所帮助。