0

[错误][完成:55/837][sid:16308 |Rev:15][tid:null | 在 Work item:16308 上找到 15 个要迁移的修订

[错误][完成:55/837][sid:16308 |Rev:15][tid:null | ...未能保存 [错误][完成:55/837][sid:16308 |Rev:15][tid:null | Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException:HTTP 代码 503:服务不可用 ---> System.Net.WebException:远程服务器返回错误:(503)服务器不可用。在 System.Net.HttpWebRequest.GetResponse() 在 Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException) --- 内部异常堆栈跟踪结束 --- 在 Microsoft.TeamFoundation.Client.Channels。 TfsHttpWebRequest.ReadResponse(HttpWebResponse webResponse, WebException webException) 在 Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.IsAuthenticationChallenge(TfsMessage requestMessage,1 asOfDate, Boolean useMaster, RowSetCollection& workItem, MetadataTableHaveEntry[] metadataHave, String& dbStamp, RowSetCollection& metadata) at Microsoft.TeamFoundation.WorkItemTracking.Proxy.WorkItemServer.GetWorkItem(String requestId, Int32 workItemId, Int32 revisionId, Int32 minimumRevisionId, Nullable1 asOfDate, Boolean useMaster, IWorkItemRowSets& workItem, MetadataTableHaveEntry[] metadataHave, String& dbStamp, IMetadataRowSets& metadata) at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.LoadWorkItem(Int32 id, Int32 rev, Nullable1 asof, IWorkItemRowSets& witem) at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem..ctor(WorkItemStore store, Int32 id, Int32 revision) at VstsSyncMigrator.Engine.WorkItemStoreContext.GetRevision(WorkItem workItem, Int32 revision) in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\ComponentContext\WorkItemStoreContext.cs:line 202 at VstsSyncMigrator.Engine.WorkItemMigrationContext.ReplayRevisions(List1 revisionsToMigrate, WorkItem sourceWorkItem, WorkItem targetWorkItem, Project destProject, WorkItemStoreContext sourceStore, Int32 current, WorkItemStoreContext targetStore) 在 D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:line 323 [错误] [完成:55/837][sid:16308 |Rev:15][tid:null | System.NullReferenceException:对象引用未设置为对象的实例。在 D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs 中的 VstsSyncMigrator.Engine.WorkItemMigrationContext.ProcessWorkItem(WorkItemStoreContext sourceStore, WorkItemStoreContext targetStore, Project destProject, WorkItem sourceWorkItem, Int32 retryLimit, Int32 retrys) :第 197 行 migration.exe 警告:0:[异常] System.NullReferenceException:你调用的对象是空的。在 D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs 中的 VstsSyncMigrator.Engine.WorkItemMigrationContext.ProcessWorkItem(WorkItemStoreContext sourceStore, WorkItemStoreContext targetStore, Project destProject, WorkItem sourceWorkItem, Int32 retryLimit, Int32 retrys) :D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs 中 VstsSyncMigrator.Engine.WorkItemMigrationContext.InternalExecute() 的第 244 行:VstsSyncMigrator.Engine.MigrationContextBase.Execute() 中的第 124 行D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\MigrationContextBase.cs:第 35 行

4

1 回答 1

0

您是否按照设置说明进行操作?

您正在运行迁移的帐户需要是目标服务器上的集合管理员,对于本地实例,您需要为下面的该帐户启用绕过规则。

绕过规则 对于本地 TFS 实例,您需要是 Project Collection Service Accounts 组的成员。您可以通过调用以下命令来执行此操作:

tfssecurity /g+ "Project Collection Service Accounts" n:domainusername ALLOW /server:http://myserver:8080/tfs

这对于云目标不是必需的。

于 2020-09-04T08:34:28.280 回答