Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

TFS JobAgent Diagnostic Collector


View products that this article applies to.

Summary

Microsoft Visual Studio Team Foundation Server (TFS) 2010 diagnostic collector enables the TFS Job Agent tracing. This tool collects diagnostic information such as trace logs for analysis. This information is useful for troubleshooting a broad class of TFS issues.

This collector supports TFS 2010 and later versions of TFS.

↑ Back to the top


How to enable the TFS Job Agent tracing

TFS JobAgent Diagnostic Collector follows these steps to change the TFSJobAgent.exe.config file:
  1. The collector creates a backup of the TFSJobAgent.exe.config to %temp% under the "TFSJobAgent" folder. TFSJobAgent.exe.config is located in the following folder:
    %ProgramFiles%\Microsoft Team Foundation Server 1x.0\Application Tier\TFSJobAgent 

    Note%temp% is the profile of the user who is running the diagnostics tool.
  2. The collector stops the TFSJobAgent service, adds the JobAgent tracing, and then restarts the TFSJobAgent service. 
    Note If there is a failure to stop or start the TFSJobAgent service, these steps will be undone and tracing will not be enabled.
  3. As soon as the tracing is turned on, you can reproduce an issue to collect information about it.
  4. After you reproduce the issue, the collector restores the TFSJobAgent.exe.config to its original state (from the backup in step 1), and then restart your TFSJobAgent service.

↑ Back to the top


Information that is collected

General Information

DescriptionFile name
Basic system information. This includes computer name, service pack number, computer model, and processor name and speed. resultreport.xml

The results of the trace that is saved in tfsjobagent.log file.TFSJOBAGENT.log
Original copy of the tfsjobagent.exe.config file.TfsJobAgent.exe.config


↑ Back to the top


References

For more information about the Microsoft Automated Troubleshooting Services and about the Support Diagnostics Platform, go and see the following Microsoft Knowledge Base article:

2598970 Information about Microsoft Automated Troubleshooting Services and Support Diagnostic Platform

↑ Back to the top


Keywords: kbsurveynew, kbtshoot, kbexpertiseinter, kbinfo, kb

↑ Back to the top

Article Info
Article ID : 2934434
Revision : 1
Created on : 1/7/2017
Published on : 3/4/2014
Exists online : False
Views : 685