Error while detaching the Collection database : TF246017: Team Foundation Server could not connect to the database.

Environment: TFS 2017 Last weekend while I was with a customer I observed the below error message, it’s interesting to know that this error happened while we were detaching the database to take back up and we could never attach it back again. TF246017: Team Foundation Server could not connect to the database. Verify that…


Connecting to TFS 2017 using VS 2008/MSSCCI Provider for 2013.

As many organizations are upgrading to TFS 2017, there is a growing concern for version controlling old legacy projects on VS 2005/2008, and some confusion on steps to connect to Version Control of TFS 2017 using older Visual Studio (2005/2008) using the MSSCCI provider. This article aims to give steps to connect to TFS 2015/2017 using…


TFS 2017 Update 1, Nuget Restore task always fails trying to find packages even though they exist on the feed.

We have come across a couple of cases where the Nuget Restore task in TFS 2017 Update 1 would fail when used with the internal Packages feed. The task would fail along the lines of, 2017-04-18T01:40:36.7838703Z Feeds used: 2017-04-18T01:40:36.7838703Z   C:\Users\bldacc\AppData\Local\NuGet\Cache 2017-04-18T01:40:36.7838703Z   C:\Users\bldacc\.nuget\packages\ 2017-04-18T01:40:36.7838703Z   https://server.com/Collection/_packaging/../../nuget/v3/index.json 2017-04-18T01:40:36.7838703Z 2017-04-18T01:40:36.9860291Z Restoring NuGet package MyPack.Framework.11.0.1. 2017-04-18T01:40:37.1287365Z WARNING: Unable to find version…


Use TFS API to add or update ACEs in the ACL for the provided token

I worked on an interesting issue recently, Issue: TFS Service account lost admin rights on a collection. One of the Symptom: Facing access denied issue while trying to upload TFS process template by logging in to machine using TFS service account. The User account is part of Team project collection administrators group and Manage process…


Setting up Test Controller – Agent to do Automation Testing

The objective of this article is to provide step by step guidance on how to setup lab environment to execute automation test cases. Steps as follows: Download Agents for Microsoft Visual Studio 2013 Update 5: https://www.microsoft.com/en-us/download/details.aspx?id=48140 System requirements to install Test controller and agent: TFS version, Test Controller and Agent compatible and supported combinations: Install…


AD Group refresh times out in Release Management 2013/2015 WPF setups: “Unable to refresh AD groups at this time. This can happen if AD is temporarily unavailable. Please try again. If the problem persists contact your application administrator.”

We’ve come across some SQL timeout issues with RM 2013/2015 when it has to process a large amount of users/groups to sync with AD. If your setup has a large number of users, permissions managed by adding users to AD groups, and in turn they’re added as RM Groups, you may run into this issue….


Visual Studio (VS) 2015.3 does not detect any files added under the folder named ‘Release’ on Team Projects with Team Foundation Version Control (TFVC) on VSTS

We came across an interesting case where the user was having trouble adding new Visual Studio projects to TF version control. After adding a new file, it was not being identified as a pending add (The plus sign that we were supposed to see with new add(s) before check in on the Solution Explorer was…


TF401256: You do not have Write permissions for query Shared Queries.

Recently, we worked with a customer on an issue, where a Contributor was not able to save to Shared queries They were getting the below error. We checked permissions on Shared Queries, user is part of the Contributors group. Permissions on Shared Queries are set correctly. However, we found the license level of the User…