我正在努力将TFS2013升级到TFS2017并得到以下错误 你能帮帮我吗?
我在此处关注指南:https://blogs.msdn.microsoft.com/rob/2016/12/22/upgrading-from-tfs-2013-to-tfs-2017/#comment-3375和此处https://blogs.msdn.microsoft.com/tfssetup/2016/12/19/in-place-upgrade-to-tfs-2017-rtw-release-to-web-with-reporting-and-sharepoint/但仍有错误
“[Info @ 21:29:42.620] + - + - + - + - + - |运行VerifyShouldRunRemapDbs:验证数据库连接字符串是有效还是可修复| + - + - + - + - + -
[Info @ 21:29:42.620]
[Info @ 21:29:42.620] + - + - + - + - + - |验证数据库连接字符串是有效还是可修复| + - + - + - + - + -
[Info @ 21:29:42.620]启动节点:VREMAPDBS
[Info @ 21:29:42.620] NodePath:VINPUTS / Progress / Conditional / VSQLINSTANCENAME / VSQLNOTLOCALDB / VSQLISRUNNING / VSQLCONNECT / VSQLISSVRADM / VDBEXISTS / Conditional / VPCUPGRADE / VREMAPDBS
[Error @ 21:29:42.665] System.Data.SqlTypes.SqlNullValueException:数据为空。无法在Null值上调用此方法或属性。
在System.Data.SqlClient.SqlBuffer.get_String()
在Microsoft.TeamFoundation.Framework.Server.SqlConnectionBootstrapBinder.Bind()
在Microsoft.TeamFoundation.Framework.Server.ObjectBinder 1.ObjectEnumerator.MoveNext()
at Microsoft.TeamFoundation.Framework.Server.ObjectBinder
1.ObjectEnumerator.get_Items()
在Microsoft.TeamFoundation.Framework.Server.DatabaseConnectionValidator.ValidateApplicationConfiguration(ISqlConnectionInfo configConnectionInfo,Guid configInstanceId,List`1 sqlInstances,String analysisInstance,String analysisDatabaseName,Boolean ignoreAnalysisDatasourceUpdateErrors,Boolean autoFixConfiguration,Boolean fullValidation,DatabaseVerificationDatabaseTypes continueOnMissingDatabaseTypes,Boolean advancedConnectionCompare)
在Microsoft.TeamFoundation.Admin.VerifyShouldRunRemapDbs.Run(ActivityContext context)
在Microsoft.TeamFoundation.Admin.Engine.AdminNode.RunNode()
在Microsoft.TeamFoundation.Admin.Engine.AdminNode.Run(String& message,Boolean& continueOnError)
[Error @ 21:29:42.667] TF255407:尝试验证配置数据库时发生错误。错误消息:数据为空。无法在Null值上调用此方法或属性。
[Info @ 21:29:42.667]完成了VerifyShouldRunRemapDbs:错误“
答案 0 :(得分:0)
您在TFS 2013中使用哪个版本的Sql Server? TFS 2017的支持SQL Server版本是SQL Server 2016和SQL Server 2014,如果您使用的是旧版本的SQL Server,则需要先更新SQL Server。请参阅requirements.
假设您已更新到SQL Server 2016,然后创建新的SQL 2016实例并将TFS数据库重新映射到新实例,然后升级到TFS 2017。