Rename machine name on tfs 2010 - breaks tfs


hi all, can me. have vs2010 & tfs 2010 installed on local machine , had started use it. tfs setup on local 2008r2 database. all quite simple

suspecting issues netbios got domain admin rename machine long name shorter 1 (so netbios name maches dns name).

since haven't been able tfs. novice on tfs here bear me. in general getting message "can't connect database"

suspecting had hardcoded old hostname in connection string, looked way change it. found tfsconfig remapdbs , set new name, no change. noticed tfs admin console had account applied network system, , (am pretty sure) configured specific domain account on install, set back. both times restarted iis - no joy.

first tfs services error in event log:

--------------------

server version = microsoft.teamfoundation.framework.server, version=10.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a
service account = nt authority\network service
machine name = vpc-bgerhardi2

exception message: tf246017: team foundation server not connect database. verify server hosting database operational, , network problems not blocking communication server. (type databaseconnectionexception)

inner exception details:

exception message: network-related or instance-specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections. (provider: sql network interfaces, error: 28 - server doesn't support requested protocol) (type sqlexception)

--------------

from can see service still using network service checking through old event logs, appears used use. ideas on have changed on changing computer name affect tfs connecting database. can connect instance fine , view tables in there , did allow remapdbs check can access things (i got syntax wrong , complained couldn't database - believe true)

i right, looking in wrong place.

machine name in appsettings of web.config in root tfs site.

once changed , restarted iis, tfs admin console find , can change urls "change urls" tool.

everything working ok - .. tfs anyway.



Archived Forums V  >  Team Foundation Server - Setup and Administration



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........