TEE团队项目选择向导错误:凭据必须是UsernamePasswordCredentials或CookieCredentials [英] TEE Team Project Selection Wizard error: credentials must be UsernamePasswordCredentials or CookieCredentials

查看:123
本文介绍了TEE团队项目选择向导错误:凭据必须是UsernamePasswordCredentials或CookieCredentials的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Eclipse 4.5.2中安装了Team Explorer Everywhere  14.0.4.201611301102。 如果我运行"添加现有团队项目"向导连接到我们的本地TFS服务器2015 (版本14.95.25229.0),向导将连接,从集合中检索
项目列表。 它会在某个网站上显示我的Windows凭据(Windows图标,我的用户名在tfs门户网站的超链接下面)。 

I've just installed Team Explorer Everywhere 14.0.4.201611301102 in Eclipse 4.5.2.  If I run the 'Add Existing Team Project' wizard to connect to our on-premises TFS server 2015 (Version 14.95.25229.0), the wizard connects, retrieves the project list from the collection.  It appears to site that my windows credentials will be used (Windows icon with my username below a hyperlink to the tfs web portal). 

但是,当我选择其中一个列出的项目(使用TFS进行源代码管理),然后单击"完成"时,向导会弹出一个错误对话框'向导中出错。完成  Eclipse Platform日志中提供了更多详细信息。凭证必须是
UsernamePasswordCredentials或CookieCredentials'

However when I select one of the listed projects (using TFS for source control), and click 'Finish', the wizard pops up an error dialog 'Error occurred in wizard completion.  More details are available in the Eclipse Platform log. credentials must be UsernamePasswordCredentials or CookieCredentials'

'平台日志'声明:

!ENTRY org.eclipse.ui 4 0 2016 -12-07 15:06:50.036

!MESSAGE未处理的事件循环异常

!STACK 0

java.lang.IllegalArgumentException:凭证必须是UsernamePasswordCredentials或CookieCredentials

  at com.microsoft.tfs.util.Check.throwForFalse(Check.java:150)

  at com.microsoft.tfs。 util.Check.isTrue(Check.java:98)

  at com.microsoft.tfs.core.credentials.CachedCredentials。< init>(CachedCredentials.java:44)

  at com.microsoft.tfs.client.common.credentials.CredentialsHelper.refreshCredentialsForGit(CredentialsHelper.java:65)

  at com.microsoft.tfs.client.common。 ui.wizard.connectwizard.ConnectWizard.finishConnection(ConnectWizard.java:250)

  at com.microsoft.tfs.client.eclipse.ui.wizard.teamprojectwizard.EclipseTeamProjectWizard.doPer formFinish(EclipseTeamProjectWizard.java:172)

!ENTRY org.eclipse.ui 4 0 2016-12-07 15:06:50.036
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalArgumentException: credentials must be UsernamePasswordCredentials or CookieCredentials
 at com.microsoft.tfs.util.Check.throwForFalse(Check.java:150)
 at com.microsoft.tfs.util.Check.isTrue(Check.java:98)
 at com.microsoft.tfs.core.credentials.CachedCredentials.<init>(CachedCredentials.java:44)
 at com.microsoft.tfs.client.common.credentials.CredentialsHelper.refreshCredentialsForGit(CredentialsHelper.java:65)
 at com.microsoft.tfs.client.common.ui.wizard.connectwizard.ConnectWizard.finishConnection(ConnectWizard.java:250)
 at com.microsoft.tfs.client.eclipse.ui.wizard.teamprojectwizard.EclipseTeamProjectWizard.doPerformFinish(EclipseTeamProjectWizard.java:172)

我们运行EFS,但是我解密了AppData \ Local \ Myicoft \ Team Foundation(以防万一)下的所有内容。

We run EFS, however I decrypted everything under AppData\Local\Microsoft\Team Foundation (just in case).

此处列出了凭据搜索的顺序: http:// stackoverflow .COM /问题/ 11448922 /团队资源管理器无处不有月食认证功能。
为了以防万一,我尝试检查Windows Credential Manager,但是当我尝试打开它时,我得到'错误代码0x80071AAF:由于事务处于活动状态,加密操作无法完成。'

The order of credentials searching is listed here:http://stackoverflow.com/questions/11448922/team-explorer-everywhere-with-eclipse-authentication.  Just in case, I tried checking Windows Credential Manager, however when I try to open it, I get 'Error Code 0x80071AAF: The encryption operation could not be completed because a transaction is active.'

从Visual Studio 2015访问我们的TFS服务器工作正常。

Access to our TFS server works fine from Visual Studio 2015.

有任何建议吗?

推荐答案

我遇到了同样的问题但在我的情况下Windows凭据已禁用

I've experiencing the same problem here but in my case windows credentials are disabled


这篇关于TEE团队项目选择向导错误:凭据必须是UsernamePasswordCredentials或CookieCredentials的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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