Microsoft released an update (KB 983578) for:
- Team Foundation Server 2010
- All Team Foundation Server 2010 clients (aka Team Explorer)
It’s the same update package that will update the client and server components.
What’s in that upgrade?
According to Brian Harry and the KB article:
Enables Visual Studio 2010 Lab Management functionality
- Improves performance for Lab Management Workflow Wizard.
- Improves performance for running automated test cases on Network Isolated Lab environments.
- Fixes an issue in which a Test Controller service account that is the same as a Lab Service account causes issues with environment capabilities.
- There is a new Expression Encoder 4.0 based Video Diagnostic data adapter to collect video recording when you perform tests. This diagnostic adapter replaces the Windows Media Encoder base video diagnostic adapter.
- Labels created in TFS2008 do not contain items after migration to TFS 2010 under certain rename/delete conditions.
- TFS Cannot be re-installed (ATOnly) targeting a database that was patched before.
- Tfs2010Beta2ToRTM operation is not executed when RC database is upgraded by post RTM server (RTM + Patch1 or SP1).
- VS2008 “smart device” projects pick up the 2010 MSTEST rather than the 2008 one.
- Unavailable build agents are pinged indefinitely rather than giving up after an hour.
- Duplicate changeset listings in build report.
- Test results for VS2008 solution not published in case of a failed test.
- Cannot delete build drops if a controller goes down
- Open Process File Location” grayed out on menu- right click on a build definition when connected to a TFS 2008 server
- Branch from label has been removed in TFS 2010 – now it’s back.
- Convert folder to branch on a hierarchy root folder with children and cycle renames crashes VS.
- Unshelve reports bogus errors about a null DownloadUrl when dependent renames are shelved and child item names overlap.
- Incorrect query plan on QueryPendingChanges when querying all users pending changes can lead to bad performance.
- merge /discard in both directions causes unnecessary “empty” merges in future merge attempts.
- Issue in merge causes a conflict not to be generated when there is a rename in the target and source.
- Overly aggressive automatic detection of file encoding can result in inappropriate encoding mismatches during merges.
Work Item Tracking
- Work item queries containing references to deleted fields can cause a red X on the work items node.
Team Web Access
- Firefox Browser: "Link Selected Items to a New Work Item" and other dialogs don’t launch pages successfully
- Chrome Browser: Adding an attachment doesn’t work
- Chrome Browser: Select Query Dropdown doesn’t work in Choose Work Items window
- Chrome Browser: Retain/Delete a build in Build Report page will get an exception “Unexpected callback response”
- Query Picker Web Part Incorrectly Renders List Items (Rows) in List View (Overflow DIVs) within WebKit-based Browsers (including Safari, Chrome, etc)
Where should I apply the upgrade?
|TFS component: ||Applies to: |
|TFS Application Tier ||Yes |
|TFS Data Tier (SQL Server) ||No |
|Team Explorer 2010 ||Yes |
|Visual Studio 2010 ||Yes |
|Visual Studio 2005/2008 ||No |
|Microsoft Test Manager (MTM) ||Yes |
|TFS Build Controller ||Yes |
|TFS Build Agent ||Yes |
|TFS Test Controller ||Yes |
|TFS Test Agent ||Yes |
|TFS Lab Agent ||Yes |
|System Center Virtual Machine Manager (SCVMM) ||No |
|SQL Server Reporting Services ||No |
|SQL Server Analysis Services ||No |
|SharePoint/WSS ||No |
Download the update package now.
Frequently asked questions
- Should I install the update although I do not use Lab Management?
Yes, it contains all TFS fixes that have been made since TFS 2010.
- Is this a Service Pack?
- If I reinstall or add TFS components later, do I have to reapply this patch?
- Should I stop TFS service prior to installing?
No, this is not necessary and will be done automatically by the update.
The ALM Rangers published a guide how to use Visual Studio 2010 Database projects, which are an innovative and powerful way to manage your database schemas.
Project Description Practical guidance for Visual Studio 2010 Database projects, which is focused on 5 areas:
- Solution and Project Management
- Source Code Control and Configuration Management
- Integrating External Changes with the Project System
- Build and Deployment Automation with Visual Studio Database Projects
- Database Testing and Deployment Verification
Get it from: http://vsdatabaseguide.codeplex.com/
"A fool with a tool, is still a fool."
TFS is a great tool, but still it doesn’t tell you how to do things. To close the missing gaps you need practices and a framework (like Scrum). Luckily, Scrum.org and Microsoft started the Professional Scrum Developer Program (PSD), which trains people in all three topics.
An ideal combination:
Additionally this will be the only official course on Visual Studio 2010 team features and Team Foundation Server 2010 autorized by Microsoft (no MOC courses).
Since this summer, I ‘m certified as Professional Scrum Master (PSM) and as one of the Professional Scrum Developer Trainers (PSDT) that will be teaching the course.
You created the team project without a project portal and/or without reports? Or maybe you upgraded your TFS to 2010 and did not migrate the reports/portals as well and want to create new, fresh ones?
The TFS 2010 Power Tools are your friend:
- tfpt addprojectportal – Create a project portal for an existing Team Project that doesn’t currently have one.
- tfpt addprojectreports – Create (or overwrite) the reports for an existing Team Project.
Execute it on the command line (you will nedd to "run as admin"):
tfpt addprojectportal /server:MYTFS\DefaultCollection /teamproject
:TeamProject /processtemplate:"MSF for Agile Software Development v5.0"
All provided settings are valid.
Log file has been created at "C:\Users\Neno\AppData\Local\Temp\TeamProject
.log". Check the log for detailed results.
Getting this error (and your TFS is installed on a Domain Controller)?
An error has occurred during report processing. (rsProcessingAborted)
Cannot impersonate user for data source ‘TfsReportDS’. (rsErrorImpersonatingUser)
Logon failed. (rsLogonFailed)
Logon failure: the user has not been granted the requested logon type at this computer. (Exception from HRESULT: 0x80070569)
Make sure that the local policy of the DC allows for login of non-admin users.
(Domain Controller Security Policy > Local Policies | User Rights Assignment | "Allow log on locally" policy and add domain users.
(Thanks to Carl Daniel who wrote about the solution in the MSDN Forums.)
Using the command line tool:
You can use the TFSServiceControl command to stop or start all of the services and application pools Visual Studio Team Foundation Server uses. For example, you use this command when backing up or restoring databases, or when you are moving your deployment from one machine to another.
You use SQL Server Reporting Services (SSRS) and wonder why you can’t set the "To" field.
By default, SSRS will use your user name as the receipient and not allow manual changes.
How to enable the "To" field?
- Locate RSReportServer.config on your SSRS server.
- Make one change:
You receive the following error message as build result:
The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
- Install Visual Studio on the build server (make sure to check the "Visual Web Developer" component).
Note: Although it might seem strange to install an IDE on a build server it is required for additonal functionality, e.g. Code Coverage only works with VS Premium or above.
(Thanks to my MVP college Anthony for the solution)
You receive the following message as part of a build process that contains UI automation:
UITestException: Automation engine is unable to playback the test because it is not able to interact with the desktop. This could happen if the computer running the test is locked or it’s remote session window is minimized."
- If you are connected to the build server using Remote Desktop make sure the Windows is not minimized. Do not close or minimize the window. If you close the Remote Desktop window you disconnect from the session and the workstation will be locked, therefore interactive tests cannot be executed anymore.
(If you enable autologin on the build server you need to restart in ordner to unlock the station once you finished working with Remote Desktop)
- If you are not connected using Remote Desktop make sure that the session is not locked and the build account is logged on.
(You can turn on autologin using the Autologon tool)
You receive the following error message when opening a TFS report:
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset ‘dsIteration’. (rsErrorExecutingCommand)
The Team System cube eitehr does not exist or has not been processed.
It basically says: the cube has not been processed.