Area or Iteration path created in the project is not reflected in the TFS cube/SSAS

by Xavier Dilip Kumar 28. April 2015 18:11

Explanation: 

TFS cube gets refreshed 2 hours once. You should have at least  one work item assigned to the specific area or iteration path to get reflected in the cube or available in the report.

Tags: , ,

TFS 2010 | TFS 2012 | TFS 2013

Frequently getting connection error message in the build notifications

by Xavier Dilip Kumar 23. April 2015 09:42

Error Message:

"Connection to the Team Foundation server http://servername:8080/tfs/defaultcollection has been restored." 

Solution:

  • Open build notifications options window
  • Deselect the build definitions that have been deleted
  • Close the options window
  • Open build notifications options window again
  • Make sure that the deselected build definitions are disappeared from the list of build definition in build notification tool.

Build notification tool does not remove the deleted build definition automatically.

Tags: , , , , , ,

Team Build | TFS 2010 | TFS 2012 | TFS 2013

How to update TFS workspace after computer name changes?

by Xavier Dilip Kumar 13. March 2015 12:17

Explanation:

You will not be able to work on your existing workspace, if your computer name is changed. You may get error messages while you try accessing the source repository.

Solution:

1. Open Visual Studio command console and execute the below command

tf workspaces /updateComputerName:<OldComputerName> /s:<ServerName>

2. Install Team Foundation Sidekicks.

  • Open the workspace Sidekick
  • click Search
  • Select your workspace from the list.
  • Click the blue computer icon to Update Workspace Computer Name

  

 

Tags: , , ,

TFS 2010 | TFS 2012 | TFS 2013

There was a problem importing the global list: TF26204: The account you entered is not recognized.

by Xavier Dilip Kumar 11. March 2015 14:09

Exception:

There was a problem importing the global list: TF26204: The account you entered is not recognized.

 

Explanation:

You will get the above exception while trying to import a global list file with the items in the list contain backslash

Workaround:

Replace the backslash with forwardslash and import the global list file

Tags: , , ,

TFS | TFS 2010 | TFS 2012 | TFS 2013

Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

by Xavier Dilip Kumar 26. February 2015 11:29

Exception:

Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Explanation:

The above exception pops up when doing a Get operation on a specific file in the build environment.

WorkAround:

Perform the following steps on your build agent by opening the Team Explorer\Visual Studio IDE.

 

Tags: , , ,

Team Build | TFS | TFS 2010 | TFS 2012 | TFS 2013

TF400324: Team Foundation services are not available from the server

by Xavier Dilip Kumar 13. February 2015 07:59

Exception:

Exception Message: TF400324: Team Foundation services are not available from the server.

Technical information (for administrator):

  Unable to connect to the remote server (type TeamFoundationServiceUnavailableException)

Exception Data Dictionary: 

AgentExecution = False

Work Around:

Perform the following steps on Build controller & agent

1. Clean user cache

  • To clear the TFS client cache, delete all the contents under “C:\Users\[User]\AppData\Local\Microsoft\Team Foundation\”

2. Reboot

Tags: , ,

Team Build | TFS 2013

Editing work item description in Excel would show the following warning and the description would lose all its formatting.

by Xavier Dilip Kumar 12. February 2015 08:03

Warning 

Explanation:

Team Foundation Server doesn't allow editing the actual HTML out of the fields. The text typed in Excel would be published without any of its HTML tags and that is the reason that it lost its formatting.

Following link has the reason why Microsoft wouldn't allow HTML editing

http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2680660-add-html-field-editing-to-excel-for-work-items

 

Tags: , ,

TFS 2012 | TFS 2013

TFS Web interface is not rendering the date field with respect to “daylight saving”

by Xavier Dilip Kumar 29. January 2015 18:28

Explanation:

TFS Web interface is not rendering the date field with respect to “daylight saving” which is causing the confusion between the date field displayed in web access and visual studio IDE. The TFS date fields populated with the date during “daylight saving” on and time as 23:00 are displayed as next day in Visual Studio IDE which is logical and expected.

Solution: 

Install latest "Daylight Saving Time (DST)" update for windows on your app tier(s).

More info: http://support.microsoft.com/gp/cp_dst

Tags: , ,

TFS 2010 | TFS 2012 | TFS 2013

How to track TFS Job execution status?

by Xavier Dilip Kumar 23. December 2014 11:09

Explanation:

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.

Others: 

How to process failed Jobs?

TFS Job details.

Tags: , ,

TFS | TFS 2012 | TFS 2013

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

by Xavier Dilip Kumar 13. November 2014 09:20

Exception:

Login failed for user XXX

Explanation:

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

Solution:

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

 

Tags: , ,

SQL Analysis Services | TFS 2012 | TFS 2013

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

  

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

Disclaimer

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.

Month List