TFS 2017 + Sharepoint 2013 +工作项=表单元素不能包含未知类型的元素 [英] TFS 2017 + Sharepoint 2013 + Work Item = Form element cannot contain an element of type Unknown

查看:67
本文介绍了TFS 2017 + Sharepoint 2013 +工作项=表单元素不能包含未知类型的元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,



当我尝试添加"新工作项"时,我遇到了一些问题或当我尝试"打开工作项目"时使用sharepoint团队网站。我使用的模板(敏捷,scrum等)并不重要,每次我收到错误  'Form'
元素在创建时不能包含"未知"类型的元素
或者打开一个工作项目!它只是在sharepoint团队网站上,如果我使用tfs门户网站,那么一切正常,我可以创建和打开工作项目,并使用
创建的工作项目tfs门户网站出现在sharepoint团队门户网站上,因为它们应该,但就像我上面说的那样,由于错误,我无法打开它们。



问题图片:  http://image.prntscr.com /image/34e6b27d613d4a529cfe2c1c85b0f268.png



环境:





Ma中文1 - Windows Server 2012 R2上的TFS 2017,带有MS SQL Server 2014 SP2 +累积更新2(Build 12.0.5522);

计算机2 - SharePoint 2013 SP1(2016年11月,累计更新) )在Windows Server 2012 R2 + TFS 2017 Sharepoint扩展工具上;

计算机3 - MS Server Server 2014 SP2 + Windows Server 2012 R2上的累积更新2(Build 12.0.5522)(由SharePoint使用);



/ \这是我几天前从我们的tfs 2015 update 3环境做的升级,这也是我们旧的tfs 2010环境,旧的tfs 2010环境的升级没有sharepoint!我从
TFS 2010 SP1升级到TFS 2015更新3之后安装了sharepoint来测试sharepoint门户,因为我们需要开始使用它!我没有遇到任何升级问题TFS 2010 SP1到TFS 2015更新3以及2017年TFS之后(升级期间完全没有错误)!



另一个小问题,就是我不记得这个问题('Form'元素不能包含'Unknown'类型的元素)当我使用sharepoint团队网站时发生
TFS 2015更新3。

解决方案

嗨Carlos Hingel,



感谢您在此发帖。



您的意思是在TFS2017中发生问题,但是您不知道它是否发生在TFS2015中?自从您使用sharepoint从TFS2015升级到TFS2017后,我建议您删除sharepoint Web应用程序,然后直接在TFS2017中重新添加Web应用程序
, 也请尝试在另一个浏览器中打开工作项。



最好的问候


Limitxiao Gao


Hello everyone,

I'm having some problems when i try to add a "New work item" or when i try to "Open a work item" using the sharepoint team site. It doesn't matter the template that i use(Agile, scrum and etc), everytime i get the error 'Form' element cannot contain an element of type 'Unknown' when creating or opening a work item! It's just on the sharepoint team site, if i use the tfs web portal, then everything works, I can create and open work items and the work items created using the tfs web portal appear on the sharepoint team portal as they should, but like i said above i can't open them because of the error.

Image of the problem: http://image.prntscr.com/image/34e6b27d613d4a529cfe2c1c85b0f268.png

The environment:


Machine 1 - TFS 2017 on Windows Server 2012 R2, with MS SQL Server 2014 SP2 + Cumulative update 2(Build 12.0.5522);
Machine 2 - SharePoint 2013 SP1 (with November, 2016, cumulative update) on Windows Server 2012 R2 + TFS 2017 Sharepoint Extension Tools;
Machine 3 - MS SQL Server 2014 SP2 + Cumulative update 2(Build 12.0.5522) on Windows Server 2012 R2 (Used by SharePoint);

/\ this is an upgrade that i did a few days ago from our tfs 2015 update 3 environment, that was also an upgrade from our older tfs 2010 environment, the older tfs 2010 environment didn't have sharepoint! I installed sharepoint after i did the upgrade from TFS 2010 SP1 to TFS 2015 update 3 to test the sharepoint portal because we need to start using it! I did not have any problem with the upgrade from TFS 2010 SP1 to TFS 2015 update 3 and after to TFS 2017(no errors at all during the upgrade)!

Another small problem, is that i don't remember if this issue('Form' element cannot contain an element of type 'Unknown') was happening when i was using the sharepoint team site with TFS 2015 update 3.

解决方案

Hi Carlos Hingel,

Thank you for posting here.

Did you mean the issue happen in TFS2017, but you did not know if it happened in TFS2015? Since you upgrade from TFS2015 with the sharepoint to TFS2017, I suggest that you could remove the sharepoint web applications, then re-add the web application in TFS2017 directly, also please try to open the work item in another explorer.

Best Regards

Limitxiao Gao


这篇关于TFS 2017 + Sharepoint 2013 +工作项=表单元素不能包含未知类型的元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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