Visual Studio错误:(407:需要代理身份验证) [英] Visual Studio Error: (407: Proxy Authentication Required)

查看:372
本文介绍了Visual Studio错误:(407:需要代理身份验证)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在需要凭据的公司代理服务器后面.最近两个小时,我一直尝试使用 MS Visual Studio Pro 2012 连接到TFS服务器(在tfspreview.com上),但没有成功.每次尝试都遇到此错误:

I am behind a corporate proxy server which requires credentials. I have been trying to connect to a TFS server (on tfspreview.com) with MS Visual Studio Pro 2012 for the last 2 hours with no success. Every attempt has been met with this error:

启动时,集成浏览器可以正常工作.它要求我提供我的代理登录凭据,一旦输入,我就离开.因此,这里发生了一些不同的连接方法.

The integrated browser works fine when I initiate it. It asks me for my proxy login credentials and once entered, off I go. So there is some different method of connection happening here.

我也已导航到TFS服务器,并且在我的项目中,我单击了打开Visual Studio的新实例.新实例失败,并在输出中显示以下消息:

I have also navigated to the TFS server, and once in my project I clicked Open new instance of Visual Studio. The new instance fails with this message in the output:

HTTP code 407: Proxy Authentication Required

我已经尝试了在另一篇帖子中找到的所有内容无济于事.我对我发现的 devev.exe.config 进行了所有编辑和组合编辑,但均未成功.

I have tried everything that I found on another post to no avail. I have made every edit and combination edits to devev.exe.config that I have found with no success.

2010版是否可能与2012 Pro版有所不同?我正在运行Windows 7.

Could it be that the 2010 version is somehow different than the 2012 Pro edition? I am running Windows 7.

谁能阐明一些想法?好吗?

Can anyone shed some light? Please?

注意:此问题也适用于Visual Studio 2013

Note: This problem also applies to Visual Studio 2013

推荐答案

经过三天的搜索,解决方案落入了我的腿.

现在,发生了什么事,VS尝试执行自动更新,但是被代理阻止了.系统提示我输入凭据,然后进行了检查.

Now, what happened was VS tried to do an automatic update but was stopped by the proxy. I was prompted for credentials and the check took place.

我很受启发地检查TFS服务器连接是否有踢脚,以防万一提示符可能为TFS服务器建立连接以便隧道通过...瞧瞧! 成功了!

I was inspired to check the TFS server connection just for kicks in case that prompt would possibly establish a connection for the TFS server to tunnel through... lo and behold! It worked!

解决方法:

  1. 打开工具>扩展程序和更新
  2. 点击左侧菜单中的更新...
  3. 屏幕上会显示一条故障通知,并提供一个输入您的凭据的链接.单击它并输入它们.
  4. 关闭扩展程序管理器.
  5. 单击 TEAM>连接到TFS服务器...
  6. 输入地址,它将起作用!
  1. Open TOOLS>Extensions & Updates
  2. Click on Updates... in the left-hand menu
  3. There will be a failure notice on screen and a link to enter your credentials. Click it and enter them.
  4. Close the Extension manager.
  5. Click TEAM>Connect to TFS server...
  6. Enter the address and it will work!

注意:有人建议通过打开集成浏览器来尝试使用代理凭据提示,但这没有用.我不是专家,但我认为他们通过Windows本身内的不同渠道进行连接.

Note: Some have suggested trying to use the proxy credential prompt by opening the integrated browser but this has not worked. I am not an expert but I think they are connecting through different channels within windows itself.

无需修改 devenv.exe.config 即可.

每次需要连接到服务器时都必须手动检查更新会很痛苦,但这是我想出的最好的解决方案,直到Microsoft用更新或将来的版本永久修复此问题.

It will be a pain to have to check for updates manually every time you need to connect to the server, but this is the best solution I have come up with until Microsoft fixes this issue permanently with an update or future release.

这篇关于Visual Studio错误:(407:需要代理身份验证)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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