无法连接到远程服务器

无法连接到远程服务器

本文介绍了Visual Studio 2012“扩展和更新"“无法连接到远程服务器"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几个月中,情况一直很不幸.我无法通过工具==>扩展和更新安装新软件包或更新软件包,但尝试了所有方法,但找不到原因.我已经尝试过了:

This has been the case unfortunatly for the past couple of months. I can't install new or update packages from Tools ==> Extensions and Updates I tried everything, yet I am unable to find the reason.I've tried :

  1. 访问NuGet并从"软件包管理器控制台"下载软件包,安装软件包 = 成功
  2. 使用Web浏览器访问存储库,Visual Studion内部浏览器= 成功
  3. Visual Studio 2010中的相同窗口=成功
  1. Access NuGet and download packages from "Package Manager Console" Install-Package = SUCCESS
  2. Access repositories using Web browsers, Visual studion internal browser = SUCCESS
  3. Same window in Visual Studio 2010 = SUCCESS

Visual Studio 2012-不起作用

Visual Studio 2012 - Doesn't work

推荐答案

由于某种原因(可能是由于RC),我的注册表设置指向另一个正在重定向的URL.

As it turns out for some reason -possibly due to an RC-, My registry settings were pointing to a different url that was getting redirected.

HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ 11.0_Config \ ExtensionManager \ Repositories

我改变了

http://visualstudiogallery.msdn.microsoft.com/Services/v2011/Extension.svc 代替 http://go.microsoft.com/fwlink/?LinkID=251029

我改变了

http://code.msdn.microsoft.com/Services/v2011/sample.svc 代替 http://go.microsoft.com/fwlink/?LinkID=251031

这篇关于Visual Studio 2012“扩展和更新"“无法连接到远程服务器"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 16:41