Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TF246017 Error when opening TFS Administration Console

When I log on to our TFS server using my own domain account and try to open TFS Administration Console, I get the following error:

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.

The TFS database is run locally on the TFS server. When I log on to the TFS server using the local computer admin account (presumably the account used to install TFS), the Administration Console loads fine without any errors. So, I used SSMS to look at the local TFS database and its logins, and lo-and-behold the local TFS server user account is listed with full permissions, but my domain account is not. Hence the error.

Finally, my question. What I'd like to do is provide specific users with permission to the TFS database (and thus the ability to run the Administration Console without errors), a la the local Administrator account. Rather than adding each of those users as Logins through SSMS, is there a TFS group that I can add them to that would automatically give them permission on the TFS DB? That would seem a little cleaner.

Thanks.

like image 436
MegaMatt Avatar asked Sep 10 '12 21:09

MegaMatt


People also ask

How do I open the TFS administration console?

By default, the tools directory is located in Drive:\Program Files\TFS <version>\Tools . Type TFSMgmt.exe and press ENTER. The administration console opens.

What is TFS administration?

Microsoft develops a Team Foundation Server or TFS to manage the teams and the way they work. It is basically a management tool used in project management, reporting, requirements gathering and testing. It actually covers the entire software development life cycle and operates in Microsoft Windows.


2 Answers

The easiest way to solve this issue is to find someone on your team who can use the Administration Console, and have them add you to the list of Administration Console Users. It's under the "Application Tier" node of the treeview. If you watch the "wizard", you'll notice it adding the user to all sorts of things like groups, SQL roles, probably more than you'd want to coordinate by hand. I spent a good hour trying to do things via AD groups, manually adding users to SQL roles, etc. in order to get another member of my team working. Eventually, I just added him through the Administration Console, and 1 minute later he was all set.

like image 145
Mel Avatar answered Sep 28 '22 06:09

Mel


I would recommend creating a group in AD called TFS Administrators, which you then give permissions to on the database server, administration console, sharepoint, ssrs and ssas.

like image 45
Betty Avatar answered Sep 28 '22 05:09

Betty