简体   繁体   中英

TFS could not connect to database. Login field

I am getting the following error. Cannot solve.New to TFS. Please help.

TF246017 : Team Foundation Server could not connect to the database. Verify that the server that is hosting the database is operational, and that network problems are not blocking communication with the server.--> login failed. Login from untrusted domain and cannot be used with windows authentication.

If you open SQL Server Manager on your TFS Server application tier using "runas" to open it under the same credentials that you expect TFS to use you should be able to diagnose more:

1) install SQL Server Manager on TFS AppTier 2) right-click on the SQL Server Manager icon and select 'run-as' ( you may need to hold alt) 3) enter the TFS Service (refer to TFS Installation Guide) credentials to open 4) try to connect to your SQL Server If you cant connect verify that SQL is installed where you think it is and that there are no firewall issues for the standard SQL ports.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM