TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration

by XDK 11. January 2015 08:43


TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration


After adding a initial state New to  Bug work item workflow, the backlog and the task board showed the error:

TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration


1. Export team project's CommonConfiguration.xml

witadmin exportcommonprocessconfig /collection:<Collection URL> /p:<Team Project Name> /f:<CommonConfiguration.xml>

2. Add the new state to CommonConfiguration.xml's BugCategory

  <BugWorkItems category="Microsoft.BugCategory">


      <State type="Proposed" value="New" />

      <State type="InProgress" value="Active" />

      <State type="Complete" value="Closed" />

      <State type="Resolved" value="Resolved" />



3. Import the updated CommonConfiguration.xml to team project

witadmin Importcommonprocessconfig /collection:<Collection URL> /p:<Team Project Name> /f:<CommonConfiguration.xml>

Tags: ,

Team Foundation Server | TFS 2012

How to track TFS Job execution status?

by XDK 23. December 2014 11:09


You can query the list of TFS Jobs from the Tfs_Configuration database tbl_JobDefinition table

SELECT *  FROM [Tfs_Configuration].[dbo].[tbl_JobDefinition]

Job Id Job Name
077785F6-AB53-46C3-9519-0BC8CDFD8AF0 Message Queue Cleanup Job
C03C29A7-00AE-4E02-94BC-18ACA80E2EA2 Team Foundation Server Image Cleanup
DD7629E4-66BB-45F9-AD42-2651BD7E56B8 Team Foundation Server Send Email Confirmation Job
47EC1DEB-483A-441F-8F27-2E739FB69A2F Runtime SQM Data Collector Job
3C601170-8080-4A7D-B8E7-48E991F80C4A Team Foundation Server Application Tier Maintanence Job
68D12C31-4894-49C3-8E12-4D3E954C98E7 Team Foundation Server On Demand Identity Synchronization
D904F618-F83E-4727-B66B-5E032A3965DB Collection Servicing SQM Monitor
99653238-499B-437B-8E6E-5F4B6C0C6ABA Incremental Analysis Database Sync
C3483450-093E-415D-84B9-740C076219F0 CollectIdentityStatisticsJobExtension
B1516502-4633-432B-BDB3-74C802C5F2B7 Team Foundation Server Send Mail Job
544DD581-F72A-45A9-8DE0-8CD3A5F29DFE Team Foundation Server Periodic Identity Synchronization
AD129F91-596D-4BDC-9EEB-8E6D2BB13170 Full Analysis Database Sync
B19DDD28-9A95-42E2-9697-966FD822F1CD Prune Registry Audit Log
2ABF4FAB-5E36-4731-9E9F-9694C3CF0592 File Container Cleanup
519C2389-D96E-4B9A-A928-9FFB51F5FDFE Common Structures Warehouse Sync
63A78C70-8FE0-4743-BA2D-A00CF8C20FDF Security Identity Cleanup Job
7A3E559E-8EB7-4E90-A4F7-B7A2515D52B9 Team Foundation Server Framework File Service Cleanup
50CA7C9C-D868-4701-A5A3-D2459CC16A5E Optimize Databases
AF87E4CD-D421-4A24-BF16-D3A68371703E Team Foundation Server Database Optimization
8FC76967-DA5D-4D53-937B-E3EFC6AF0FCB Job History Cleanup Job
62C4F0BD-75EB-4A20-9C43-E3F479AB2F51 Optimize Databases
A4804DCF-4BB6-4109-B61C-E59C2E8A9FF7 Team Foundation Server Event Processing
AD9C60AE-5BF0-4AC0-BE56-F2988088859A Team Foundation Server Activity Logging Administration
81A90003-CA23-4E55-9320-F956F62A2477 Team Foundation Server Data Maintanence

Using the Job Id, you can get the job execution details from the Tfs_Configuration database tbl_JobHistory table

SELECT * FROM [Tfs_Configuration].[dbo].[tbl_JobHistory] where [JobId] = 'XXX'

Following query gets the "Team Foundation Server Send Mail Job"  details

SELECT * FROM [Tfs_Configuration].[dbo].[tbl_JobHistory] where [JobId] = 'B1516502-4633-432B-BDB3-74C802C5F2B7' 

tbl_JobHistory table field details

1) Job ID – Every job in the system has a unique id.

2) Job Agent ID – Every AT/Job Agent has a unique id.  This field is useful if you have multiple application tiers and you want to know which one the job executed on so that you can investigate the event log or performance counters.

3) Result – This is an integer that represents the result of the job. 

   0 = Succeeded

   1 = PartiallySucceeded

   2 = Failed

   3 = Stopped

   4 = Killed

   5 = Blocked

   6 = ExtensionNotFound

   7 = Inactive

   8 = Disabled

4) Queued Reason – This is an integer that represents the way a job was scheduled. 

   0 = No reason to execute the job

   1 = Job has a schedule

   2 = Queued manually

   4 = Queued manually while already in progress

   8 = Queued due to previous result (Blocked, Inactive)

5) Start Time – The local time that the job started executing on a job agent

6) End Time – The local time that the job finished executing on a job agent

7) Duration – The number of minutes that the job was executing for

8) Result Message – Jobs are able to log a status message when they finish executing.


How to process failed Jobs?

TFS Job details.

Tags: , ,

Team Foundation Server | TFS 2012 | TFS 2013

Not able to connect to TFS cube (Tfs_Analysis - SSAS)

by XDK 13. November 2014 09:20


Login failed for user XXX


I am not able to connect to TFS cube even though, I am in Tfs_Analysis --> TfsWarehouseDataReader's role. 


Make sure that you have enabled the "Read definition" database permission for TfsWarehouseDataReader role


Tags: , ,

SQL Analysis Services | TFS 2012 | TFS 2013

Team Explorer Everywhere support for GIT

by XDK 13. November 2014 06:14




TFS 2013

Failed to access the temporary location. Action - Ensure that the current user has required permissions to access the temporary location.

by XDK 11. November 2014 10:05


Failed to access the temporary location.  Action - Ensure that the current user has required permissions to access the temporary location.  

Additional Information:

- Framework setup check failed on all the nodes  - Cause: Cause Of Problem Not Available  

- Action: User Action Not Available Summary of the failed nodes XXXXX  

- Version of exectask could not be retrieved from node "XXXXX"  

- Cause: Cause Of Problem Not Available  - Action: User Action Not Available


I ran into the above exception while installing Oracle client "p13390677_112040_MSWIN-x86-64"

Work Around:

Try to kill "RemoteExecService.exe" process in windows task manager --> processes tab.




How to remove Framed Display ads add-on?

by XDK 6. November 2014 14:30


Framed Display is a browser add-on which can be added to all your web browsers including Internet Explorer, Google Chrome and Mozilla Firefox.The advertisements may appear in the form of pop-ups, web banners, interstitial ads, etc. The ads are rather intrusive, so they will disrupt your online activity.


Use the freefixer tool to remove the "Framed Display ads add-on"



Who deleted my MTM objects?

by XDK 4. November 2014 07:26


All MTM objects information are stored in the TFS collection database table ‘tbl_AuditLog’.


You can query the TFS collection database table ‘tbl_AuditLog’ as below

USE <TFS collection database>

SELECT tbl_AuditLog.AuditId, tbl_AuditLog.DateModified, tbl_AuditLog.Action, tbl_AuditLog.ObjectType, tbl_Project.ProjectName, tbl_AuditLog.AuditIdentity FROM tbl_AuditLog JOIN tbl_Project ON tbl_AuditLog.ProjectId = tbl_Project.ProjectId 

List of Action code:

None = 0
Delete = 1
Reset = 2

List of Object Types:

None = 0
TestRun = 1
TestConfiguration = 2
TestPlan = 3
TestPoint = 5
TestResult = 6
TestVariable = 7
TestResolutionState = 8
TestSettings = 9
Attachment = 10
TestSuite = 11
TestSuiteEntry = 12
TeamProject = 13
TestVariableValue = 14
TestConfigurationVariable = 15
BugFieldMapping = 16
Session = 17
TestController = 18
DataCollector = 19
TestCase = 20
SharedSteps = 21
Other = 1000

You can query the TFS configuration database table ‘tbl_Identity’ for user details

SELECT [Sid],[Id],[DisplayName],[Domain],[AccountName],[MailAddress] FROM [Tfs_Configuration].[dbo].[tbl_Identity] where [Tfs_Configuration].[dbo].[tbl_Identity].[Id] = '<tbl_AuditLog.AuditIdentity value>'



TF401009 and TF400997 errors during scheduled backups

by XDK 2. November 2014 03:50


TF401009: The TFS service account NT AUTHORITY\LOCAL SERVICE cannot access network shares.  Change to an account that can access the backup path.
TF400997: SQL Server service is running as NT AUTHORITY\NETWORKSERVICE. Please change this account to an account that can be accessed


Scheduled Backups end up with failure, when granted permissions for the NT AUTHORITY\LOCAL SERVICE and the NT AUTHORITY\NETWORKSERVICE accounts on the backup path.


To run Scheduled Backups without errors, you have to change the JobAgent and the Sql Server service accounts to User account.


TFS 2013

I don’t see MS Build logging verbosity property in TFS 2013 build definition

by XDK 1. November 2014 08:47


This feature is not available in TFS 2013.


You can set the verbosity in build definition using MSBuild arguments section in process tab


Following are the levels of verbosity that can be set for the ms build output:

· Quiet
· Minimal
· Normal
· Detailed
· Diagnostic



Team Build | TFS 2013

Not able to download files from IIS site or application folders which are set to directory browsing.

by XDK 31. October 2014 06:33


  • The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable
  • Unable to download file from server
  • unable to open this internet site. The requested site is either unavailable or cannot be found. Please try again later


By default, IIS blocks some file extentions. You can see the blocked file extensions in "Request Filtering" --> "File Name Extensions" tab.  


  • Open IIS manager (cmd --> inetmgr)
  • Click on the folder or application site
  • Double click on "Request Filtering"

  • Select "File Name Extensions" tab
  • Select the file extension and click on remove.

If you still have the issue with some other extensions, then add the file extensions to "MIME Type" as below.







The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.

About the author

My name is Xavier Dilip Kumar Jayaraj and I am a Software Configuration Management Engineer with a background in application development, Build & packaging using Install Shield.

Profile in LinkedIn , PCEP-Certified , Azure-DevOps-C1

DevOps Tools

ALM tools:
Azure DevOps
IBM Rational
CA Agile Central-Rally
CollabNet VersionOne

Configuration tools:
• Puppet
• AWS OpsWorks
• Ansible

Build automation tools:
Apache Ant 
Apache Maven

Continuous Integration tools:

Testing tools:

Version control system tools:
Team Foundation Server

Code review tools:
Bitbucket Server

Continuous Delivery/release management tools:
XL Release
Serena Release
Octopus Deploy

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

Knowledge Base Articles