Installing TFS 2017 and cannot connect sql in other computer

ぃ、小莉子 提交于 2020-07-10 07:44:21

问题


In Server Configuration Wizard, in Database step, we have to provide the sql server instance name, but I cannot reach sql in other computer.

The screenshot below is from an installation guide:

The error message is the following:

I installed Management Studio and can connect to the sql server, but in the tfs installation i cannot. The firewall did not block the traffic because I have turned off all the firewalls

What roles is needed to connect SQL while installing TFS 2017?

Thanks any help in advance!


回答1:


Ensure that the account you plan to use to configure TFS is a member of the SysAdmin server role in SQL Server.

Installing TFS involves a complex set of operations that require a high degree of privilege - these include creating databases, provisioning logins for service accounts, and more. Technically, all that is required is membership in the ServerAdmin role; ALTER ANY LOGIN, CREATE ANY DATABASE, and VIEW ANY DEFINITION server scoped permissions; and CONTROL permission on the master database. Membership in the SysAdmin server role will confer all of these memberships and permissions, and is therefore the easiest way to ensure that TFS configuration will succeed. If necessary, these memberships and permissions can be revoked after TFS is installed.

More information you can refer to this article:

https://docs.microsoft.com/en-us/vsts/tfs-server/install/dual-server?view=tfs-2018

Adding a screenshot:



来源:https://stackoverflow.com/questions/50462207/installing-tfs-2017-and-cannot-connect-sql-in-other-computer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!