Microsoft KB Archive/235354

= Content Publishing Directories on Destination Are Not Deleted When Using Filters =

Article ID: 235354

Article Last Modified on 9/22/2005

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



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.

 Start Registry Editor (Regedt32.exe).  Locate the following key in the registry:   HKEY_LOCAL_MACHINE\software\microsoft\crs   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 </li> Quit Registry Editor.</li></ol>

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.

Keywords: kbbug kbfix kbqfe kbhotfixserver KB235354

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.