Skip to main content


Showing posts from June, 2009

TFS 2010 Setup: Gotchas

I'm sure I missed a step somewhere during setup the search engines catch 'em, I'm going to post my TFS/VSTS 2010 setup missteps below: Issue : "TF255147: The following server that is running SQL Server is not listening on the expected TCP port: SERVER" Resolution : Open SQL Server Configuration Manager. Under SQL Server Network Configuration, Protocols for MSSQLSERVER, right-mouse Enable TCP/IP. Restart SQL Server. Re-run TFS configuration wizard. Issue : "TF255282: Windows SharePoint Services 3.0 cannot be installed. The program is already installed on this server" Resolution : Open up Add/Remove Programs (or "Programs and Features" under Win2k8 Server) and remove Microsoft Windows SharePoint Services 3.0. Re-run TFS configuration wizard. Issue : Couldn't get Full-Text search within SQL 2008 to install. MSI (s) (14:AC) [00:03:21:091]: Source is incorrect. Unable to open or validate MSI package D:\Setup\

Overriding the default assembly output directory in Team Build

By default, Team Build (MSBuild-driven) wants to output compiled assets (assemblies, config, exe's, etc.) to a flattened ..\Binaries\Release|Debug directory. I had a client desiring to package up these assets in their relative, normal output directories into an MSI using WiX. Fortunately, there's a simple directive to set within the TFSBuild.proj file such that the individual project OutDir is honored: <customizableoutdir>true</customizableoutdir> Set this within the main PropertyGroup element for your build. Unless you're performing a custom check-out, you'll also need to turn off read-only attributes set during the Get from version control. Update this attribute in the AfterGet target using an Exec task:

Agile with TFS Presentation Follow-up

Thanks for everyone attending my " Implementing an Agile Software Development Process with Team Foundation Server (TFS) " presentation today. We enjoyed some good discussion. I had a few TFS-related questions pop up which I thought I'd address in a post: Q. Is it possible to fail the build but only if a specific test fails? So, let's say we have 3 tests. If Test01 or Test02 fail, fail the build. If Test03 fails, don't fail the build. A. Not that I'm aware of. If any test fails in a build but compilation succeeded, that build lists a state of Partially Succeeded. With TFS 2008 SP1, we received a property to modify or control this behavior: TreatTestFailureAsBuildFailure. If true (false is the default), any test failure will set the build state to Failed (vs. Partially Succeeded). Nice write-up here . You might take the approach of creating two separate builds: one that contains all your tests and one containing just mission critical tests. Set TreatTestFailu

Rollback a Ooops in TFS with TFPT Rollback

Rhut roe, Raggie. You just checked in a merge operation affecting 100's of files in TFS against the wrong branch. Ooops. Well, you can simply roll it back, right? Select the folder in Source Control Explorer and...hey, where's the Rollback? Rollback isn't supported in TFS natively. However, it is supported within the Power Tools leveraging the command-line TFPT.exe utility. It's fairly straightforward to revert back to a previous version--with one caveot. First, download and install the Team Foundation Power Tools 2008 on your workstation. Before proceeding, let's create a workspace dedicated to the rollback. To "true up" the workspace, the rollback operation will peform a Get Latest for every file in your current workspace. This can consume hours (and many GB) with a broad workspace mapping. To work around this, I create a temporary workspace targeted at just the area of source I need to roll back. So let's drill down on our scenario... I'm worki

Installing TFS/VSTS 2010 Beta 1

I finally found some time to get rolling on VSTS/TFS 2010 and wanted to share how I kitted out my environment. Somewhat related, fantastic overview on where to start . Started with my Windows 2008 Server VPC Installed and configured IIS 7 Downloaded and installed the SQL Server 2008 180-day Trial Configured SQL Server 2008 and SSRS, SSAS Turned off IE Enhanced Security for Administrators Under Win7 Beta1 (my host OS), I have a jerky mouse on the VPC . Unfortunately, the Change settings button under the Troubleshoot tab of my display driver is disabled under 64-bit :( Otherwise, I would enable the hardware acceleration recommendation. It's slightly better under full-screen. Downloaded and installed Windows SharePoint Services (WSS) v3.0 . Downloaded and installed TFS 2010 Beta 1 following the instructions to the letter. Downloaded and installed VSTS 2010 Beta 1 . Happy exploring and learning!

Troubleshooting the TFS Data Warehouse

Occasionally, I encounter issues with the TFS data warehouse failing to refresh. Sometimes, it's as simple as the VS TFS Task Scheduler service isn't started but other times, it's more complicated. Here's a helpful troubleshooting document up on MSDN for troubleshooting the SQL Server TFSWarehouse relational table / Operational Data Store (ODS). If you're expereincing issues with Analysis Services (SSAS) and/or the cubes, reference this one .

Microsoft BizValue Series

Thanks to everyone attending my firm's monthly Microsoft BizValue Series. In case you missed it, I've presented recently on the Microsoft Business Intelligence ( MSBI ) stack, Microsoft Online Services / BPOS and Team Foundation Server ( TFS ). We meet in our offices downtown (Columbus, OH) on the 2nd Wednesday of the month. Next week (June 10th), I'll be delivering a talk on leveraging TFS for agile software development efforts. I'll deliver a similar presentation in our Charlotte, NC offices the following day (June 11th). You can learn more and register here and here .