Steps to install TFS 2010.

Choose native mode if you do not require to use Microsoft Sharepoint Portal

Choose Sharepoint integrated mode only if really required

Install TFS 2010.

Do not forget to install Team Foundation Extension for Sharepoint Services even if you are setting up a a singe server configuration.

Configure TFS 2010 using the wizard in TFS Administration Console.

Replace local server name with FQDN to expose public access to the server. Follow this post to rename URLs. After that go to Sharepoint Extension configuration in TFS Administration Console and replace URL with FQDN.

Some problems you might encounter during/after installation of TFS 2010

Problem:When running TFS 2010 upgrade wizard and reaching Readiness Checks you might get an on ‘Configuration Database’ step. The message can say: “TF255440: The following account has a SQL Server login, but the login was denied access: DOMAIN\User. The server selected to host the databases for Team Foundation Server is: MYSERVER. The SQL Server login associated with the user account must be granted access to the SQL Server instance on that server.”

Solution:

Delete that DOMAIN\User account from SQL Logins. You should not get that message again.

Problem:When connecting SharePoint to TFS in Team Foundation Administration Console you most probably will get “TF255329: The following site could not be accessed … ” error when clicking “Validate Path” button.Solution:

Even though you have a single server setup you need to install TFS Extension for SharePoint. Once installed you will able to easily connect Sharepoint to TFS.

Today at the office I encountered another nightmare. It seems like the author of the code above was doing the development late at night, he sleep in the middle and unintentionally pushed Ctrl-V button.

Attached Files:

Today at the workplace I came across a very weird chunk of code. An enormous block of code was wrapped in 25-30 levels of brackets. On a a standard resolution screen (1280×1024) the code was completely out of screen. After spending some time on refactoring it and eliminating annoying scopes I decided to take a screenshot and post it here.

Below I will describe reasons that can lead to such kind of issues and possible solutions.Read more…