MS Project无法读取vsts中的查询 [英] MS Project not able to read queries in vsts

查看:82
本文介绍了MS Project无法读取vsts中的查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我在VSTS中设置了一个项目,并希望与MS Project同步。这是在上周工作,但现在我们在尝试选择要读取的查询时出现以下错误...

I have setup a project in VSTS and would like to synch it with MS Project. This was working last week but now we get the following error when trying to select a query to read from...

它连接到服务器正常,我然后选择获取工作项并保存查询但不是我们得到的查询列表......

It connects to the server fine, I then select Get Work Items and Saved Query but instead of a list of queries we get...

转换值时出错"Microsoft.Identity.Model.Claims.ClaimsIdentity; ....."键入"Microsoft.VisualStudio.Services.Identity.IdentityDescriptor".path'authenticateduser.descriptor',第1行,第185位。

Error converting value "Microsoft.Identity.Model.Claims.ClaimsIdentity;....." to type "Microsoft.VisualStudio.Services.Identity.IdentityDescriptor".path'authenticateduser.descriptor', line 1, position 185.

但是如果我选择ID或Title包含查询则它工作正常。 Project 2013和Project 2016也出现了同样的问题,正如前面提到的那样。

However if I select IDs or Title contains to query then it works fine. This same issue occurs on both Project 2013 and Project 2016, and as mentioned was working on both previously.

感谢您的帮助

Brian

PS同样的过程在Excel中正常工作。

PS the same process works fine in Excel.

推荐答案

Team Foundation Server 2015中的问题与此相同。不适用于Team Foundation Server 2013

Same issue here with Team Foundation Server 2015. Not present with Team Foundation Server 2013

不知道为何在"项目自定义和编程"下对其进行了重新分类。因为这是一个开箱即用的功能。

重新执行步骤:


  1. 创建一个空项目
  2. 转到"团队"选项卡(假设您已加载TFS插件)
  3. "选择团队项目"在功能区中连接到您的TFS存储库
  4. "获取工作项目"功能区上的按钮
  5. 展开"已保存的查询"按钮组合框
  1. Create an empty project
  2. Go to the "Team" tab (given that you have the TFS Plugin loaded)
  3. "Choose team project" in the ribbon to connect to your TFS repository
  4. "Get work items" button on the ribbon
  5. Expand the "Saved query" combo box

预期结果:

- 你应该在这里看到所有的工作当前用户可以访问的repo下可用的项目查询。

- you should see here all the work item queries available under the repo accessible to current user.

实际结果:

- 组合框中显示错误

- Error is indicated in the combo box

将值System.Security.Principal.WindowsIdentity转换为Microsoft.VisualStudio.Services.Identity.IdentityDescriptor时出错。路径authenticatedUser.descriptor第1行位置168。

Error converting value System.Security.Principal.WindowsIdentity to type Microsoft.VisualStudio.Services.Identity.IdentityDescriptor. Path authenticatedUser.descriptor line 1 position 168.

------------------------------ -

--------------------------------

Windows 7

Windows 7

Microsoft Project 2016 16.00.4266.1003

Microsoft Project 2016 16.00.4266.1003

内存中加载的TFS插件版本(例如:Microsoft.TeamFoundation.Client.dll,TFSOfficeAdd-in.dll)14.95.25118.0

TFS Plugins version loaded in memory (ex: Microsoft.TeamFoundation.Client.dll, TFSOfficeAdd-in.dll) 14.95.25118.0

Visual Studio 2015 Update 2

Visual Studio 2015 Update 2

Team Foundation Server 2015更新2

Team Foundation Server 2015 Update 2

------------------------------

------------------------------

更多信息

抛出异常:Newtonsoft.Json.dll中的'System.ArgumentException'

其他信息:无法从System.String转换或转换为Microsoft.VisualStudio.Services.Identity.IdentityDescriptor。

Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Additional information: Could not cast or convert from System.String to Microsoft.VisualStudio.Services.Identity.IdentityDescriptor.

抛出异常:Newtonsoft.Json.dll中的'Newtonsoft.Json.JsonSerializationException'

附加信息:转换值时出错"System.Security.Principal.WindowsIdentity; S-1-5-21-1644491937-1993962763-725345543-7920"输入'Microsoft.VisualStudio.Services.Identity.IdentityDescriptor'。路径'authenticatedUser.descriptor',行
1,位置168。

Exception thrown: 'Newtonsoft.Json.JsonSerializationException' in Newtonsoft.Json.dll
Additional information: Error converting value "System.Security.Principal.WindowsIdentity;S-1-5-21-1644491937-1993962763-725345543-7920" to type 'Microsoft.VisualStudio.Services.Identity.IdentityDescriptor'. Path 'authenticatedUser.descriptor', line 1, position 168.


这篇关于MS Project无法读取vsts中的查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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