This article describes how to enable TraceListener support for the WSSDocumentUpdater tool.
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:
<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> - 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.
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.
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