Archive | Troubleshooting RSS feed for this section

Release Management hangs and there is no log in place…

This week I encountered a very strange error with release management 2015.1 (so the old, grey, WPF version) We upgraded our TFS server to 2015.1 and everything was fine. We started a release and everything was fine. But the second time we started a release it only went through the first stage of our release […]

Continue reading

Build fails when associating work items

Recently I ran into a strange problem. I modified a work item type definition and added a field. So far, so good. The field could be edited and everyone was happy. But after that, my build failed. As you may or may not know you can choose to associate work items during a check-in (read […]

Continue reading

Trigger a vNext release template from a build definition throws Http Error 500

Last week I was busy with some work on a vNext Release template. When my release worked I wanted to trigger that release from my build definition. Where as in the agent-based Release Management it was a matter of checking a checkbox and using a different Build Template that triggers this release, in the vNext […]

Continue reading

Error in TFS 2013 build – Could not load file or assembly ‘Microsoft.VisualStudio.Services.WebApi

Recently I installed TFS 2013.2 and modified some Build Templates. I also installed a separate Build Server that executes these builds for me. My build template was based on the default TFS 2013 Build template (Tfvctemplate.12.xaml) When my build executed, it ran for a while, but eventually it stopped with a nasty error message An […]

Continue reading

TFS Build throws CRC in GZip footer error

This week I encountered a really nasty problem with the Team Foundation Server Build Agents. Before I walk you through the details let me first explain the situation. Scenario At a customer we are building a new build “farm” (a little farm 😉 ). Currently we have 2 build servers with each 2 agents on […]

Continue reading

Visual Studio 2013 freezes when performing Load Test on Azure

Since the release of Visual Studio 2013 a few weeks ago we have the possibility to use the immense power of the cloud to perform Load Tests on our public websites. This is a Team Foundation Service feature and can be used when you have a TF Service account. For now, since the load test […]

Continue reading

Custom Build Activities Type is greyed out in Build Definition editor

Lately I am quite busy with building Custom Build activities for TFS 2012. I also did this in TFS 2010 but it seems that I avoided some issues there. In my previous blog posts I described some migration issues with TFS build. This is about an issue I had with Custom Build Activities. Error when […]

Continue reading

‘Microsoft.TeamFoundation.Build.Client.IProjectFile’ is obsolete

For my customer I was implementing some advanced BuildNumbering mechanism (Here can you find a good post about this). Because it was important that the stuff worked, I wrote some Unit Tests. I usually do that and need IBuildDetail. Jim Lamb has a great post about how to stub The IBuild…interfaces when you create your […]

Continue reading

Error when copying Build Template “The type ‘TfsBuild.Process’ already contains a definition for…”

I do quite a lot of Build customizations and usually I create a new Build Template for each type of Build I want to do. You can choose to copy the file in the Build Definition Editor or you can just Copy/Paste the file in Windows Explorer. The advantage of the editor is that it […]

Continue reading

TFS API – WorkItemStore is null and throws NullReferenceException

In the last weeks I wrote a migration tool to migrate test cases from Rally to Team Foundation Server. This tool is deployed to a server and runs as a Windows Service. After I made a small update to this tool suddenly my tool stopped working. My log file gave me the following error: Error […]

Continue reading