Control\Reduce TFS DB Size

Sunday, June 29, 2014

Today I received an email from the company DBA saying that out TFS Backup failed because “There is not enough space on the disk”. First I’ve opened SSMS to understand how big is our TFS DB and I…….. What????? I knew that we’re getting bigger from day to day (more and more groups are joining to start working with TFS) but 633GB??? TFS DB Size growth usually comes from Attachments and Source Control, So I tried to understand which Team Projects are taking most of the space. I need to understand what type of attachments are taking all that space, again per...

TFS 2012 Upgrade Process Template–Guide

Thursday, July 18, 2013

Many customers are upgrading from TFS 2010 or earlier versions to TFS 2012 and in near future will upgrade to TFS 2013. As Microsoft making the upgrade process of TFS a very smooth process there are still things we need to upgrade in our Team Project process template things that will not happened in the TFS Upgrade Process. So which things? the Team Project Process Template – Work Items, Queries, Reports, Categories and more. There are couple of scenarios you interesting in: Upgrade the same Process Template to the latest version. ...

VS/TFS 2012 Update 2 & Update 3 CTP

Wednesday, May 8, 2013

Couple of days ago Brian Harry post about the new release of Update 2 for Visual Studio and TFS 2012, and today another release of Update 3 that isn’t big a Update 1 and 2 but contains a set of bug fixes that can ease you work. Before jumping to Update 3, if for some reason you’re not using Update 2 this is the time to read about it and install it! Update 2 VS/TFS 2012.2 (Update 2) Visual Studio 2012 Update 2 (VS 2012.2) ISOs available ...

TFS API Part 49 – Delete Team Project

Wednesday, February 20, 2013

There are many improvements in TFS API for 2012 version, in my previous post I’ve talked about TFS API Part 48 – WorkItemControl And Bypass Work Item Rules that allow work item creation with bypass rule mode in WorkItemStore that allow you to create and change any field value without applying the WorkItem template rules. in this post I’ll show how to delete Team Project using TFS API, be aware Delete Team Project is unrecoverable! Download Demo Project Step 1: Connect TFS and Getting Team Projects Create WPF Application, and add the basic...

Getting Started With Git-TF Tool

Monday, December 31, 2012

Git-TF tool release by Microsoft allowing developers to work locally using Git repository without any connection to TFS, if you wanted to work on your files locally (In case you don’t have internet connection) you had reopen the solution and work offline. TFS 2012 comes with new feature called – Local Workspace allowing developers to work locally on their files but without tracking the changes history – here comes Git-TF tool. Brian Harry’s Blog Distributed Version Control (DVCS) has a growing following. It enables a set of workflows that can be very handy and...

Visual Source Safe Upgrade Tool for Team Foundation Server

Sunday, November 11, 2012

If for some reason you or your company is still using VSS it’s time to move forward! Team Foundation server supports VSS Migration, until today there were a command line tool allowing you to migrate VSS repository to TFS Source Control – this tool is called – VSSConverter. VSSConverter command line tool requires configuration file that need manual authoring, but no More! Microsoft has announce a new wizard based UI tool for upgrading VSS repositories to Team Foundation Server 2012/2010. Open the tool and start the upgrade, choose VSS local repository. ...

Visual Studio 2012–News (iPhone, Web Test Management, 260 Limit and more)

Tuesday, September 25, 2012

With Visual Studio 2012 and TFS 2012 we have a lot of new stuff for Developers, Testers, Managers customers and more, and this is not the end…. Microsoft continues to develop new features for 2012 version. Test Case Management On The Web Brian Harry - We’ve heard from a number of customers that in final acceptance testing, they don’t want to install anything on the test environment that’s not going to be in the production environment.  That’s understandable.  In our first update, we will be shipping a basic web based test case management...

TFS API Part 45 (VS11) – Modify Teams and Team Members

Monday, May 21, 2012

Tweet In my previous post “Teams and Team Members”  I talked about new Service in TFS API called – TfsTeamService. Using this service we can control Teams and Team Members under TFS. We can create and remove Teams and Team Members using TFS API. I know this can be quite confusing but Teams in TFS are simply Group (Security Group), same as Contributors, Administrators etc. If you open Security tab under TFS Web Management you can see that there is two separate lists of Groups – Teams and TFS Groups, I’ll show how to separate between Teams and...

Team Foundation Backup Plan Not Working in Administration Console

Tuesday, January 17, 2012

Tweet Today I came to a customer for consulting and the customer told me that there is no Backups for TFS. So right away I told him this is very important and let’s create a Backup Plan for TFS. How To: Create TFS 2010 Backup Plan Problem So I’ve download TFS 2010 Power Tools, Install, Open TFS Administration Console, Click “Create Backup Plan” and Nothing happens. So I’ve started to investigate and saw some errors in TFS Event Log, of course I saw “Object reference not set to an instance of an object” and didn’t understand the problem. Process finished: fileName=C:\Program Files (x86)\Microsoft...

TFS API Part 42 – Getting Started With Lab Management API

Thursday, December 22, 2011

Tweet I did some cool things lately with TFS Lab Management API, from connecting it to TFS Web Access and allow REST access to the lab (if you want to ask why – The customer is always right ). So this part of TFS API will deal with Lab Management API, although Lab Management API is not public I’ll show some cool things you can do but this will be under your own risk. Again, this is just the beginning of the Lab Management API, so let’s get started Download Demo Project Step 1:...