Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Team Foundation Server with Remote SQL Server Database

Tags:

sql-server

tfs

I am in the process of evaluating TFS 2010. I am trying to install onto our application server which sits in a domain and runs Windows 2008 R2 Standard.

We already have a SQL Server in place on a separate Windows 2008 box that I want to use - this is in the same domain.

After installing TFS, I am using the Advanced Configuration Wizard to try and complete the setup. There are 3 bits that are reporting errors : "Database" and "Reporting".

When I enter the SQL Server details, TFS gives me this error :

TF255049: A connection cannot be made to the server that is running SQL Server. Verify that you have entered the correct name for the server, including the instance name, that the server you attempting to connect to is online, and that you have required permissions to connect... (it goes on a bit more)

The server I have installed TFS on is a web server that runs several .Net websites - all of which can connect to the SQL Server with no problem.

I have tried IP Address, machine name, instance name - all report the same error.

Has anybody been in this situation before?

EDIT : Strangely if I go to the "Reporting Server" page in the wizard and enter the SQL Server name, it connects correctly in order to get the Report Server URL and Report Manager URL. So it seems this maybe user account related?

like image 294
rf_wilson Avatar asked Feb 12 '26 03:02

rf_wilson


1 Answers

Two things spring to mind:

You'll need to make sure the TFS service accounts have permissions on the DB server.

If Windows Firewall is on on the TFS box, switch it off for a minute or two and try again.

If that solves it, turn it back on and open the SQL ports.

HTH

like image 157
Daniel Elliott Avatar answered Feb 16 '26 18:02

Daniel Elliott



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!