index > Team Foundation Server - Administration > Change SQL Connection String.

Change SQL Connection String.


This has to be fairly common request but I can not find and answer.

I have sql server and tfs installed on the same machine and I want to change the port that sql server uses but I cant until i can find out how to tell TFS and Sharepoint to use look for sql server on a different port.

Whats involved in such a change.

Denton

Denton

The connection strings are stored in web.config and a database table.

Configuration file

InstallDirectory\Web Services\Services\Web.config Connection string used to access database by the Services web application. This web application is contacted by the other web apps (Version Control, Team Build, ....) when those applications obtain their individual connection strings.

Database

The TFSIntegration database table tbl_Database contains the raw elements of the connection string for the other web apps. The name column indicates which application; connection contains the template for the application and the dbname and dbserver values are added to the template. The constructed connection string is then used by the web appplication.

Except for Services, the Team Foundation web applications access the connection strings through the application's registration data (there's a section with database information in the registration data).

Jeff Lucovsky

Jeff's correct, but officially we only support the default instance (port 1433) in our V1 product, but several customers have "gotten it to work".

One of the critical things to keep in mind is that switching to this unsupported configuration not only causes problems with support by Microsoft's Support teams (of course), but also may cause problems with servicing (applying future service packs, upgrades to a later version, etc.). Because of that, I'd caution against doing this unless it's really needed.




Team Foundation Server - http://blogs.msdn.com/jmanning/
James Manning - MSFT
reply 3

You can use google to search for other answers

 

More Articles

Performance problems running TFS on large system
TFS Security for Multiple Projects
Errors being logged by TfsWarehouseController
Last discussion is put on the bottom of the list in Sharepoint. H...
TF53008: The authentication type Negotiate is not supported
how to replace a project while retaining history
Can't add /remove users to either some [SERVER] accounts
Migrate to another server
Subscription problem
Error 28002
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Custom team project creation failed on R…
TF53010: An unexpected condition has occ…
customizing of sharepoint services proje…
Numerous errors in the Application Event…
link tfsredirect.aspx to queries?
Creating a workitem and assigning a user
IEv6 Error
Adding user from different domain to TFS…
TFS After a IIS Server...
Problems when moving from Beta3 refresh …
Server not referred to by the FQDN
List of all checked out files for all us…
Restoring single TFS on a different server
Lock project for administrative purposes
Upgrade problem - B3R to RTM

Hot Articles

Team Foundation Server Reporting account
Adding Web Parts to WSS Project Portal
(sharepoint) accessing document library …
PVCS to TFS conversion?
Copy or transfer data from portal to por…
domain administrator password lock autom…
Performance problems running TFS on larg…
Cross domain testing and foundation server
TFS RC - Data Tier Analisys Service - Go…
How can I manege my project to becomes
Does the Source Control system have any …
Unable to connect TFS Server due to WSS …
Subscription problem
Rename my projects
Team System Warehouse Problems

Recommend Articles

Where is the reference about CommonStruc…
PVCS to TFS conversion?
Sharepoint project lost
TF31001 and TF31002 Errors on TFS
Domain group members do not propagate to…
SharePoint Team Portal
Problems with libraries being displayed …
tempdb size
Saving Requirements Documents
Manage team projects for some separate g…
AdminProjectRights problem
Can not create a project with Team Found…
Team Project Creation Failed
TF50612 Couldn't Remove Permissions for …
Converting tasks from one project to ano…