TFS错误:TF246017 [英] TFS error : TF246017

查看:651
本文介绍了TFS错误:TF246017的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

恢复数据库2015至2018 TFS之后。我收到了这个错误。



TF246017:Team Foundation Server无法连接到数据库。验证是否正确指定了实例,托管数据库的服务器是否正常运行,以及网络问题是否阻止与服务器的通信。



我尝试了什么:



将数据库恢复到TFS 2018后登录到TFS

After Restore Database 2015 to 2018 TFS. I got this error.

TF246017: Team Foundation Server could not connect to the database. Verify that the instance is specified correctly, that the server that is hosting the database is operational, and that network problems are not blocking communication with the server.

What I have tried:

Login to TFS after restore database to TFS 2018

推荐答案

第一个问题是,数据库是否还处于恢复状态?确保已完成还原并且已打开数据库。请参阅:如何:还原数据库备份(SQL Server Management Studio)| Microsoft Docs [ ^ ]



如果您在更改数据库名称时检查是否在TFS中正确配置了数据库名称恢复。如果还原到新的SQL Server实例,请确保已启用TCP / IP,请参阅配置服务器监听特定的TCP端口Microsoft Docs [ ^ ]



如果还是遇到问题,从
搜索更多信息 - SQL Server日志,此处记录严重错误

- Windows事件日志还可能包含其他信息。
The first question is, is the database still in recovery? Ensure that the restore has been completed and the database is opened. See: How to: Restore a Database Backup (SQL Server Management Studio) | Microsoft Docs[^]

Also check that the database name is configured correctly in TFS in case you changed the database name when restoring. If the restore is done to a new SQL Server instance, ensure that TCP/IP is enabled, see Configure a Server to Listen on a Specific TCP Port | Microsoft Docs[^]

If still encountering problems, search for more information from
- SQL Server log, critical errors are logged here
- Windows Event log may also contain additional information.


这篇关于TFS错误:TF246017的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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