Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TF246017: team foundation server could not connect to the database

Tags:

tfs

I am facing a problem with logging into TFS. I get the following error:

enter image description here

Exception Message: 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. (type SoapException)SoapException Details:

like image 888
Rakesh Avatar asked Mar 09 '23 14:03

Rakesh


2 Answers

Hi the below steps worked for me.

Select Application Tier in the TFS Administration Console.

In the Application Tier Summary which contains the Service Account details.

Click Reapply Account.

like image 96
raki.dbit Avatar answered Mar 21 '23 06:03

raki.dbit


I know this is old, but here was my situation: We have 11 collections on our instance, 2 were failing with this error, showing me it wasn't an access / connection issue. Checking Event Viewer (as @Andy Li-MSFT suggests) showed it was A timeout occurred while waiting for memory resources to execute the query in resource pool 'default' (2). Rerun the query.

Checking task manager showed the culprit - elastic search was using well over 2GB of memory. I killed the service, the collections applied the patch quickly without issue. enter image description here

Looks like I need to ask our server admins to give us a bit more memory....

like image 40
Para Avatar answered Mar 21 '23 07:03

Para