您好我正在本地处理TFS迁移表单到VSTS在线,我也将我的TFS服务器升级为新版本。 在这里,我面临的问题是,当我在命令提示符下运行验证时,我得到以下异常并且我传递的命令如下所示
TfsMigrator验证/收集:http://desktop-qvs5g7f:8080/tfs/DefaultCollection
当我运行上面的命令时,我得到以下异常
找不到带有网址的集合:'http://desktop-qvs5g7f:8080/tfs/DefaultCollection'
并在Log文件夹中创建一个日志描述,如下所示
TfsMigrator验证/收集:http://desktop-qvs5g7f:8080/tfs/DefaultCollection
Connection string not specified, trying to use the one from the Application Tier's web.config
Using the framework connection string Data Source=DESKTOP-QVS5G7F\SqlExpress;Initial Catalog=Tfs_Configuration;Integrated Security=True
Exception Message: The collection with url was not found: 'http://desktop-qvs5g7f:8080/tfs/DefaultCollection' (type ArgumentException)
Exception Stack Trace: at TfsMigrator.TfsMigratorCommand.CreateCollectionRequestContext(String collectionUrl)
at TfsMigrator.TfsMigratorCommandValidate.RunValidations(Boolean validateFiles)
at TfsMigrator.TfsMigratorCommandValidate.RunImpl()
at TfsMigrator.TfsMigratorCommand.Run()
对于上述异常,如何解决该问题以及验证命令我遵循以下URL作为参考
https://www.visualstudio.com/en-us/articles/migration-import