Content Publishing Directories on Destination Are Not Deleted When Using Filters (235354)



The information in this article applies to:

  • Microsoft Site Server 3.0

This article was previously published under Q235354
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

With Content Publishing, directories in a project destination that do not exist on a source are deleted when you use filters.

CAUSE

This behavior is by design.

WORKAROUND

To work around this problem, remove the filter.

RESOLUTION

To resolve this problem, obtain the latest service pack for Site Server 3.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

219292 How to Obtain the Latest Site Server 3.0 Service Pack


STATUS

This problem was first corrected in Site Server 3.0 Service Pack 3.

MORE INFORMATION

A registry parameter has been added to change the default behavior.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Start Registry Editor (Regedt32.exe).
  2. Locate the following key in the registry:
       HKEY_LOCAL_MACHINE\software\microsoft\crs
    						
  3. On the Edit menu, click Add Value, and then add the following registry value:
       Value Name: ForceDirectoryDeletion
       Data Type:  REG_DWORD
       Value:      0 or 1
    					
  4. Quit Registry Editor.
If this key is set to 1, the default behavior is changed and the filters are ignored during the ProcessDirectory call so that directories are always deleted on the destination when they do not exist on the source. If the registry key is set to 0 (or does not exist) the default behavior is used.

Modification Type:MinorLast Reviewed:9/22/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbQFE KB235354