Microsoft KB Archive/835246

= How to enable TraceListener support for MCMS 2002 Connector for Sharepoint Technologies =

Article ID: 835246

Article Last Modified on 2/4/2004

-

APPLIES TO


 * Microsoft Content Management Server 2002 Connector for SharePoint Technologies

-





INTRODUCTION
This article describes how to enable TraceListener support for the WSSDocumentUpdater tool.



MORE INFORMATION
The WssDocumentUpdater tool is a stand-alone command line utility that is included with Microsoft Content Management Server (MCMS) 2002 Connector for SharePoint Technologies. With the WssDocumentUpdater tool, you can update the content of the WssPlaceholder objects in the MCMS repository. When TraceListener support is enabled, Microsoft Product Support Services (PSS) can more effectively troubleshoot issues with the WSSDocumentUpdater tool.

The WssDocumentUpdater tool provides TraceListener support for errors, warnings, and verbose trace messages. The TraceSwitch class that the WSSDocumentUpdater tool uses is Microsoft.ContentManagement.SharePoint.Updater.

Enable TraceListener support for the WSSDocumentUpdater tool
 In the directory that contains the WssDocumentUpdater.exe file, create a configuration file that is named WssDocumentUpdater.exe.config.  Add the following code to the configuration file:        Save the file. Run WssDocumentUpdater.exe. A log file that is named WssDocumentUpdater.log is created in that directory. To change the path and file name, change the initializeData property in the configuration file.</li></ol>

Note You can use this same method of tracing with the WSS Document Library Finder tool that is used with the SharePointPlaceholder server control. To do this, change the Web.config file for the application instead of the WssDocumentUpdater.exe.config file for the application.

<div class="references_section">