Content Publishing Directories on Destination Are Not Deleted When Using Filters

ID: Q235354


The information in this article applies to:
  • Microsoft Site Server version 3.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

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, please see the following article in the Microsoft Knowledge Base:

Q219292 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: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

  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:


  4. 
       Value Name: ForceDirectoryDeletion
       Data Type:  REG_DWORD
       Value:      0 or 1 
  5. 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.

Additional query words:

Keywords : SS3SP3Fix
Version : winnt:3.0
Platform : winnt
Issue type : kbbug


Last Reviewed: October 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.