Microsoft KB Archive/920676

= Replicated files in the CSSTemp folder are not deleted when a Commerce Server 2007 project is unsuccessful =

Article ID: 920676

Article Last Modified on 11/22/2007

-

APPLIES TO


 * Microsoft Commerce Server 2007 Standard Edition
 * Microsoft Commerce Server 2007 Enterprise Edition
 * Microsoft Commerce Server 2007 Developer Edition

-





SYMPTOMS
When a Microsoft Commerce Server 2007 project is unsuccessful, replicated files in the CSSTemp folder are not deleted. However, the files are deleted on the next successful replication of the aborted project.



WORKAROUND
To work around this problem, follow these steps:
 * 1) Make sure that scheduled replication is not running.
 * 2) In the CSSTemp folder, manually delete the .fil file.

Note Commerce Server Staging (CSS) creates the CSSTemp folder at the root folder of the drive on which the destination folder exists. For example, if you stage the files to drive D, CSS creates the CSSTemp folder at the root folder of drive D.



Steps to reproduce the problem
 At the command prompt, type the following command to turn on transaction processing:

CSS setglobal TransactionMethod=1

 Set up a project between the source servers and the target servers. On the target server, type the following command to set the RollBacksToKeep variable to 1:

CSS setglobal RollBacksToKeep = 1

 Type the following command to run a successful replication from the source server to the target server:

CSS deploy  /display

 Add more files to the source content folder. Or, modify the existing files. Then, start the project again. Type the following command to stop the project while replication is still running on the target:

CSS stop

</li> Run the replication again, and then let the replication successfully finish.</li></ol>

When you check the CSSTemp folder, the replicated files are not deleted.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="references_section">