How to enable TraceListener support for MCMS 2002 Connector for Sharepoint Technologies (835246)



The information in this article 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

  1. In the directory that contains the WssDocumentUpdater.exe file, create a configuration file that is named WssDocumentUpdater.exe.config.
  2. Add the following code to the configuration file:
    <configuration>
      <system.diagnostics>
        <switches>
          <add name="Microsoft.ContentManagement.SharePoint.Updater" value="4" />
          <add name="Microsoft.ContentManagement.RepositoryInterfaces" value="4" />
        </switches>
      <trace autoflush="true" indentsize="4">
        <listeners>
          <add name="myTracingListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="WssDocumentUpdater.log" />
        </listeners>
      </trace>
      </system.diagnostics>
    </configuration>
  3. Save the file.
  4. 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.
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.

REFERENCES

For additional information about MCMS 2002 Connector for SharePoint Technologies, click the following article number to view the article in the Microsoft Knowledge Base:

835323 Known issues with Microsoft Content Management Server 2002 Connector for SharePoint Technologies


Modification Type:MinorLast Reviewed:2/4/2004
Keywords:kbHOWTOmaster KB835246 kbAudDeveloper