System.MissingFieldException:找不到字段:'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration' [英] System.MissingFieldException: Field not found: 'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration'

查看:1087
本文介绍了System.MissingFieldException:找不到字段:'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将团队项目集(TPC)从一个TFS实例移动到另一个TFS实例。 当我在新服务器上附加TPC时,我收到以下错误:

I'm trying to move a Team Project Collection (TPC) from one TFS instance to another.  When I attach the TPC on the new server, I get the following error:

System.MissingFieldException:找不到字段:'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration'

System.MissingFieldException: Field not found: 'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration'

我的客户向我保证,没有人曾使用过Project Server,但我仍然遇到此错误。 

My customer assures me that no one has ever used Project Server but I've still got this error. 

任何人都有任何想法? 我在哪里可以看到TFS数据库以查看Project Server配置信息?

Anyone have any ideas?  Where would I look the TFS databases to see the Project Server config info?

谢谢,

-Ben

Thanks,
-Ben

[信息   @19:14:32.586] [2011-06-27 19:10:24Z] [信息]目标请求上下文具有框架连接字符串:Data Source = tfssql.baupost.com; Initial Catalog = Tfs_FromVirtualTfs; Integrated Security = True。

[信息   @19:14:32.586] [2011-06-27 19:10:24Z] [信息] ProjectServer:从Collection中检索PS节点...

[错误  @ 19:14:32.586] [2011-06-27 19:10:24Z] [错误]找不到字段:'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration'。

[Info  ;  @ 19:14:32.586] [2011-06-27 19:10:24Z] [信息] System.MissingFieldException:找不到字段:'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration'。

  在Microsoft.TeamFoundation.Server.Servicing.TFCollection.ProjectServerStepPerformer.GetPWACatalogNodes(TeamFoundationRequestContext requestContext,TeamFoundationCatalogService catalogService)

  在Microsoft.TeamFoundation.Server.Servicing.TFCollection.ProjectServerStepPerformer.AttachCatalogEntries(String stepData,ServicingContext servicingContext,Boolean validateOnly)

  在Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.Microsoft.TeamFoundation.Framework.Server.IStepPerformer.PerformStep(String servicingOperation,String stepType,String stepData,ServicingContext servicingContext)

  在Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep步骤,ServicingContext servicesContext,ServicingStepGroup组,ServicingOperation servicingOperation,Boolean validateOnly)

[信息   @ 19:14:32.586] [2011-06-27 19:10:24Z]服务步骤附加Project Server目录条目失败。 (ServicingOperation:AttachCollection;步骤组:AttachCollection.TfsProjectServer)

[信息   @ 19:14:32.586] [2011-06-27 19:10:24Z] [提供信息]清除字典,删除所有项目。

[错误  @ 19:14:32.586]服务操作失败。

[Info   @19:14:32.586] [2011-06-27 19:10:24Z][Informational] Target request context has framework connection string: Data Source=tfssql.baupost.com;Initial Catalog=Tfs_FromVirtualTfs;Integrated Security=True.
[Info   @19:14:32.586] [2011-06-27 19:10:24Z][Informational] ProjectServer: Retrieving PS nodes from Collection...
[Error  @19:14:32.586] [2011-06-27 19:10:24Z][Error] Field not found: 'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration'.
[Info   @19:14:32.586] [2011-06-27 19:10:24Z][Informational] System.MissingFieldException: Field not found: 'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration'.
   at Microsoft.TeamFoundation.Server.Servicing.TFCollection.ProjectServerStepPerformer.GetPWACatalogNodes(TeamFoundationRequestContext requestContext, TeamFoundationCatalogService catalogService)
   at Microsoft.TeamFoundation.Server.Servicing.TFCollection.ProjectServerStepPerformer.AttachCatalogEntries(String stepData, ServicingContext servicingContext, Boolean validateOnly)
   at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.Microsoft.TeamFoundation.Framework.Server.IStepPerformer.PerformStep(String servicingOperation, String stepType, String stepData, ServicingContext servicingContext)
   at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Boolean validateOnly)
[Info   @19:14:32.586] [2011-06-27 19:10:24Z] Servicing step Attach the Project Server Catalog Entries failed. (ServicingOperation: AttachCollection; Step group: AttachCollection.TfsProjectServer)
[Info   @19:14:32.586] [2011-06-27 19:10:24Z][Informational] Clearing dictionary, removing all items.
[Error  @19:14:32.586] The servicing operation failed.

推荐答案

TFS和Project Server Integration的功能包已安装在两台服务器上?也许如果它只安装在您尝试附加集合的新TFS上,那么它会期望原始集合中的某些字段来自没有功能包的TFS的
。我不确定,我应该尝试一下,但如果功能包安装在目标tfs服务器上,您可以尝试在原始设备上安装,然后再分离集合。

The feature pack for TFS and Project Server Integration was installed in both server? Maybe if it was installed only on the new TFS where you try to attach the collection it would expect some fields that are not in the original collection that comes from a TFS without the feature pack. I'm not sure and I should give it a try, but if the feature pack is installed on the destination tfs server, you could try to install on the original one before detatching the collection.

 

 


这篇关于System.MissingFieldException:找不到字段:'Microsoft.TeamFoundation.Framework.Common.CatalogResourceTypes.ProjectServerRegistration'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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