TFS 2012.2 Detach Collection Error TF246017: Team Foundation Server could not connect to the database


when try detach collection in tfs 2012.2, getting below error:

tfs instance operational without issues, reason when try detach collection fails. fails during core framework step.

i tried detach collection using tfsconfig, command line execution says detach successful. when go , in tfs administration console, collection still exists in stopped mode.

any ideas on how resolve issue?

exception message: tf246017: team foundation server not connect database. verify server hosting database operational, , network problems not blocking communication server. (type databaseconnectionexception)
exception stack trace:    at microsoft.teamfoundation.framework.server.teamfoundationsqlresourcecomponent.translateexception(int32 errornumber, sqlexception sqlexception, sqlerror sqlerror)
   at microsoft.teamfoundation.framework.server.teamfoundationsqlresourcecomponent.translateexception(sqlexception sqlexception)
   at microsoft.teamfoundation.framework.server.teamfoundationsqlresourcecomponent.mapexception(sqlexception ex, queryexecutionstate querystate)
   at microsoft.teamfoundation.framework.server.teamfoundationsqlresourcecomponent.handleexception(exception exception)
   at microsoft.teamfoundation.framework.server.teamfoundationsqlresourcecomponent.execute(executetype executetype, commandbehavior behavior)
   at microsoft.teamfoundation.framework.server.teamfoundationsqlresourcecomponent.executenonquery(boolean bindreturnvalue)
   at microsoft.teamfoundation.framework.server.sqlscriptresourcecomponent.executescripts(list`1 scripts, sqlparameter[] sqlparameters, list`1 serviceversions, boolean acquirelock)


please remember mark replies answers if thanks, --kuldeep

hi,

could upgrade server to tfs 2012.3 , try detach collection again? know fixed several attach/detach issues in in update 3. note: not able attach collection detached tfs 2012.3 tfs 2012.2.

thanks,

--vladimir



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........