This issue occurs when using Visual Studio 2005 or VS 2008 without the compatibility update installed. If you have already installed the compatibility update then its possible that the URL used is incorrect. Verify that the URL for TFS meets the following format http://YOURTFS:8080/tfs . If you have not installed the update you will need to do so in the specific order below.
ERROR: TF31002: Unable to connect to this Team Foundation Server: tfs2010.
Visual Studio 2005 to TFS 2010
The process must be completed in the exact order to work.
Visual Studio 2005
On the Visual Studio Toolbar go to Tools and select Connect to Team Foundation Server

Select Servers
Select Add and enter the server details http://tfs2010:8080/tfs
*The Connection Details on the screen should gray out after entereing the URL. If this is not the case, then the “Forward Compatibility Service Paack” has not been installed or the order it was intalled is incorrect. *
Connection Completed
Visual Studio Team System 2005 Team Explorer
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7203
Microsoft® Visual Studio® 2005 Team Suite Service Pack 1 http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5553
Visual Studio Team System 2005 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010 http://www.microsoft.com/download/en/details.aspx?id=3263
Connecting to TFS 2010 from Visual Studio 2008
Visual Studio 2008 (The Same process as above with the following software below)
While researching ways to use TFS 2010 with the AGILE method of Software Development, I created a quick but efficient outline that is useful when proposing the process for developer and business use. I also added a few links that could assist new users to Team Foundation Server, with details on how to complete certain task within TFS. It would be great to read suggestions from others that may be using TFS in a different manner to broaden my knowledge base.
The Development outline while working with TFS 2010 is as follows.
Work Items and Workflow (Agile)
http://msdn.microsoft.com/en-us/library/dd997897(v=VS.100).aspx#CreatingManyWorkItems
Working with User Stories
http://msdn.microsoft.com/en-us/library/dd380634(VS.100).aspx#LinkBug
Working with Tasks
http://msdn.microsoft.com/en-us/library/dd380700(v=VS.100).aspx
Complete Process with Details on All Reports
http://msdn.microsoft.com/en-us/library/dd997796(v=VS.100).aspx#TrackTheProject
Product Planning Workbook (Reports)
http://msdn.microsoft.com/en-us/library/dd380682(v=VS.100).aspx
MSF for Agile Software Development v5.0
http://msdn.microsoft.com/en-us/library/dd380647(VS.100).aspx
Updates were made at work to remove all users for a domain that has been decommissioned. The Event Viewer returned the following error for every user that no longer existed.
Error:
Event Type: Error
Event Source: TFS Services
Event Category: None
Event ID: 3071
Date: 12/20/2009
Time: 12:24:32 AM
User: N/A
Computer: ApplicationTier
Description:
TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 12/20/2009 5:24:32 AM
Machine: ApplicationTier
Application Domain: #######
Assembly: Microsoft.TeamFoundation.Server, Version=9.0.0.0, Culture=neutral, PublicKeyToken=1234555; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 1234
Thread Id: 1224
Account name: SERVICE ACCOUNT
Detailed Message: TF200035: One or more errors occurred when Team Foundation Server attempted to synchronize with the following Active Directory identity: TFSGuy. Number of errors that occurred: 1.
An error occurred when trying to read the following Active Directory distinguished name: CN=A-###-##-#######-###,CN=%@%@%@%@%,DC=dad,DC=###,DC=###. This identity was not added to the Active Directory identity listed above, or if it had already been added, it has been removed. Exception message: No mapping between account names and security IDs was done.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
FIX:
Execute the TFSSecurity command to identify the Groups the user (TFSGuy)belongs to in TFS and remove them or have the user added to the Active Directory.
tfssecurity /server:ApplicationTier /imx n:TFSGuy
Other Links:
http://msdn.microsoft.com/en-us/library/ms252504(VS.80).aspx (TFSSecurity)
http://msdn.microsoft.com/en-us/library/ms253088(VS.80).aspx (Command Line Tools)
While checking the Event Viewer(Application) Errors on the TFS Application Tier for an unrelated issue I noticed and error for Windows SharePoint Services (WSS) and found the following:
Error:
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Topology
Event ID: 5617
Date: 12/19/2009
Time: 8:04:56 PM
User: N/A
Computer: TFSAppTier
Description:
The schema version (3.0.149.0) of the database WSS_Content_123 on TFSDataTier is not consistent with the expected database schema version (3.0.151.0) on TFSAppTier. Connections to this database from this server have been blocked to avoid data loss. Upgrade the web front end or the content database to ensure that these versions match.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
There are a number of fixes listed for this error in other forums, however the easiest option resolved the issue for me. ( Try Locating the SharePoint Products and Technologies Configuration Wizard un Administrative Tools first, and if you do not have the link available proceed with the steps below. ) After the fix the sites were restored.
FIX:
Start the Windows SharePoint Services Administration service using the Services applet (Start, Run, Services.msc) and run SharePoint Products and Technologies Configuration Wizard.
Link to other Fixes:
Optional Command for Verification:
The following command will return the settings for SharePoint.
D:Program FilesMicrosoft Visual Studio 2008 Team Foundation ServerTools> TfsAdminUtil ConfigureConnections /view
TfsAdminUtil – Team Foundation Admin Utility
Copyright (c) Microsoft Corporation. All rights reserved.
If ones goal is to be a developer of worth it’s best to understand one will never know everything about anything. While searching for an answer to an ASPNETCompiler issue with TFS building a project I stumbled upon a link to this book Inside the Microsoft® Build Engine by Sayed Ibrahim Hashimi , William Bartholomew . It immediately grabbed my attention because it’s one of a small group of books that actually cover Team Foundation Server with MSBuild. It also has relevant information as to the upcoming release of VSTS2010. Needless to say I ordered it immediately to add to the library and get a real understanding of MSBuild in and out to truly know the core of the Build Process. After receiving it at my office it helped resolved a few issues I had which saved me a few hours of research and is now serving as a great reference manual. I still have not completed the book as of yet but look forward to writing a complete review once I am done. So far saving me 2-3 hours of research makes this book worth its weight in gold. I also joined the Team System Live event for Running Interactive Build Agents for UI Testing and Debugging Organized by one of the Authors William Bartholomew. It was definitely interesting and things did not go as planned with TFS Building the project. However I will be attending future events to further my knowledge as needed in the Software industry.
Amazon Book Details
Product Description
The build process when code gets assembled to see how and how well it works is a critical step in software development. Developers had few options for customizing the build process before Visual Studio 2005 and Visual Studio 2008, but the Microsoft Build Engine (MSBuild) enables developers to customize each step during a build. MSBuild is extensible and uses an XML file to describe each step, allowing the build master or developer to easily change and augment how projects are built. This book offers hands-on guidance for customizing MSBuild, and provides a cookbook of examples on Web deployment, automated releases, and other essential topics. It also covers Visual Studio Team Foundation Build, the build engine in Visual Studio Team System.
Product Details
|
Recent Comments