We are running TFS 2008 and installed the recent service pack for Visual Studio (Visual Studio 2008 SP1) on the same server that TFS is running. At first everything was fine, actually we went an entire day without any trouble. However, when we arrived at work the next morning, we found TFS was logging a bunch of errors.
From Team Explorer we were receiving the following error:
- TF30331: Team Explorer could not connect to Team Foundation server…TF30059: Fatal error while initializing web service.
The event log was filled with the following errors:
- TF53010: The following error has occurred in a Team Foundation component or extension:
- TF53013: A crash report is being prepared for Microsoft. The following information is included in that report:
- The Team Foundation warehouse service was unable to initialize Web Request
Details Url: http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx
Initially we found this post (Error installing SP1 – TFS Left in Broken State) and wasted time trying to figure out if stopping the web sites would help us like it helped the posters. Then we tried repairing TFS through add/remove programs. This was looking promising until about 95% of the way through when we encountered “Error 28002” in a dialog box. The event log error for this was:
TF213000: A required user account could not be added during installation or repair of Team Foundation Server. The installation or repair failed with the following exception message: blah blah.
Finally broke down and called Microsoft for my first time ever. The whole team was down so it had to be done.
This apparently is a recently known issue and they just posted a KB article on the day before. I sure wish that would have shown up in search. Anyway the resolution was to install the service pack for Team Foundation Server (Team Foundation Server 2008 SP1). Amazingly it worked beautifully. It didn’t need a reboot, didn’t need to restart IIS, nothing it just worked. Sweet! We did reboot the server anyway to make sure that two days from now we wouldn’t run into something else.
Microsoft KB Article – TFS 2008/ Not able to connect to TFS 2008 after installing Visual Studio 2008 SP1
Hope this saved you some time,