Error while trying to connect to Team Foundation Server 2011 Express
I have just installed TFS Express 2011 Beta and try to use it. First thing I do is create a new Team Project to add some source code. It worked perfectly. Then I try to add a new user to my project. TFS Express should allow until 5 users. I create a user on my machine and, using Visual Studio 2011, I add this user as Contributor in my project. Once done, I try to connect to the Web interface using http://
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.

After some research, I finally found what is the problem.
Looking at the EventViewer, I found this message in the application logs :
Login failed for user
For some reason, my user tries to access the configuration database. Why ?
Because of a misconfiguration in IIS. ASP.Net Impersonation is enabled whereas it should not. I disable it and reload the page. It works now.
If you get this error, hope this post will help you.
