How to: Enable tracing of TFS add-ins for Excel and MS Project

TFS provides abilities to manage work items in Excel and MS Project. When you experience unexpected behaviors while managing work items in Excel or MS Project, one approach to diagnose this issue is to enable tracing. The trace log can give us more information and probably contains clues.

  1. Create a file EXCEL.exe.config to enable tracing of Excel (WINPROJ.exe.config for MS Project).
  2. Add the below content to the config file and save.
    <?xml version ="1.0"?>
    <configuration>
    <system.diagnostics>
    <trace autoflush="true" indentsize="4">
    <listeners>
    <add name="myListener" type="System.Diagnostics.TextWriterTraceListener"
    initializeData="c:\Logs\Excel.log" />
    </listeners>
    </trace>
    <switches>
    <add name="General" value="4" />
    </switches>
    </system.diagnostics>
    </configuration>



  3. Go to the folder where EXCEL.exe or WINPROJ.exe locate. For Office 2007, they are in %\ProgramFiles%\Microsoft Office\Office12.


  4. Copy the EXCEL.exe.config or WINPROJ.exe.config there.


  5. Restart Excel or MS Project. When you use functions in the TFS add-in, trace logs should be created.

5 comments:

guangming April 25, 2010 at 7:13 PM

Discount Handbags On Sale-Beautycasa Online : Official online destination for all things Louis Vuitton Handbags and purses including Luxury Handbags trends, designer reviews, handbag deals, and more.Hot sale Cheap cell phonesand cell phone china on our site! Fashion look and powerful functions for these mobile phones even discount cell phones! Wholesale HiPhone, 3G cell phones, PDA/Smart Phone now.China Cell PhonesDon't miss these cellphone!toy wholesale

china wholesale February 9, 2011 at 12:29 AM

Thank you for sharing your post!!! 2945abc45 0209

fdhty April 23, 2013 at 6:42 PM

The consequences of today are determined by the actions of the past rs gold. To change your future, alter your decisions today Runescape gp, Experience is a hard teacher because she gives the test first, the lesson afterwards rs gp, but it takes character to keep you there.

The consequences of today are determined by the actions of the past scarlet blade gold. To change your future, alter your decisions today scarlet blade gold, Experience is a hard teacher because she gives the test first, the lesson afterwards scarlet blade gold, but it takes character to keep you there.

Visio 2010 Download June 16, 2013 at 8:02 AM

With significant updates and visual enhancements, Project Standard 2010 Download delivers better experiences to simply be more productive and successfully complete all types of projects.
Microsoft Visio Premium 2010 Download offers the most advanced and efficient diagramming tools for managing IT, process, quality, and compliance scenarios. With intelligent, rule-based templates such as SharePoint Workflow, BPMN, and Six Sigma, driving consistency and accuracy across your organization is easier than ever.
Adobe Acrobat 9 Download is a platform for viewing, creating, manipulating and managing files in Adobe's PDF format.

Project 2010 Download June 26, 2013 at 1:00 AM

Project 2010 Download is the complete PDF solution for business and technical professionals.
With all of the new updates and visual enhancements of Project Standard 2010, Project Professional 2010 delivers more with at-a-glance resource management and team collaboration tools using Microsoft SharePoint Foundation 2010, to successfully complete all types of projects. And, utilising Microsoft Project Professional 2010 Download, you and your organisation can realise the results of unified project and portfolio management by adding Microsoft Project Server 2010.
Store, share, and reuse business process diagrams and subprocesses through Visio 2010 integration with SharePoint 2010 Process Repository.