Microsoft Knowledge Base Email Alertz

(835246) - Describes how to enable TraceListener support so that PSS can efficiently troubleshoot issues with the WSSDocumentUpdater tool.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 835246 - Last Review: February 4, 2004 - Revision: 1.3

How to enable TraceListener support for MCMS 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  (http://kbalertz.com/Feedback.aspx?kbNumber=835323/ ) Known issues with Microsoft Content Management Server 2002 Connector for SharePoint Technologies

APPLIES TO
  • Microsoft Content Management Server 2002 Connector for SharePoint Technologies
Keywords: 
kbhowtomaster KB835246
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate