我目前正在將TFS服務器從2008年升級到2010年的試用版。所以基本上,這裏是下面的步驟我做:TFS 2008升級到2010失敗升級pre tfs 2010數據庫失敗
備份數據庫
恢復一個新的數據庫服務器,數據庫上的數據庫。
在另一臺服務器TFS上安裝TFS 2010。
選擇升級方案
失敗,出現以下錯誤:
[Info @00:33:55.170] [2010-07-27 07:43:48Z][Informational] Step Performer: Build
[Info @00:33:55.170] [2010-07-27 07:43:48Z][Informational] Step Type:
MigrateBuildDefinitionSchedules[Info @00:33:55.170] [2010-07-27 07:43:48Z][Informational] Step Data Text:
[Error @00:33:55.170] [2010-07-27 07:43:49Z][Error] Object reference not set to an instance of an object.
[Info @00:33:55.170] [2010-07-27 07:43:49Z][Informational] System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationJobSchedule.Validate(String topLevelParamName, Int32 minimumScheduleInterval)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationJobDefinition.Validate(String topLevelParamName, Int32 minimumJobInterval)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationJobService.UpdateJobDefinitions(TeamFoundationRequestContext requestContext, IEnumerable
1 jobsToDelete, IEnumerable
1 jobUpdates, Boolean allowRunOnceJobs, Boolean repairQueueOnly)at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.UpdateBuildDefinitions(TeamFoundationRequestContext requestContext, IList`1 updates)
at Microsoft.TeamFoundation.Server.Servicing.TFCollection.BuildStepPerformer.MigrateBuildDefinitionSchedules(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 @00:33:55.170] [2010-07-27 07:43:49Z] Servicing step Migrate Build Definition Schedules failed. (ServicingOperation: UpgradePreTfs2010Databases; Step group: Upgrade.TfsTeamBuild)
[Info @00:33:55.170] [2010-07-27 07:43:49Z][Informational] Clearing dictionary, removing all items.
[Error @00:33:55.170] The servicing operation failed.
我不能繼續前進,不知道哪裏出了問題。
請幫忙。
感謝,
陳
感謝Robaticus。不知道我們可以做那件奇特的事情:P – Chen 2010-07-29 01:04:18