Command-line options for Commerce Server Staging (CSS) when you troubleshoot content replication problems on a computer that is running Commerce Server 2007 (921488)



The information in this article applies to:

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

INTRODUCTION

This article contains generally used command-line options for Commerce Server Staging (CSS). These options are used to troubleshoot content replication problems on a computer that is running Microsoft Commerce Server 2007.

MORE INFORMATION

To stop or to start a CSS service, use one of the following commands:

css stop
cscd stop
css start
cscd start

To stop or to start project replication, use one of the following commands:

css deploy projectname [flags] [globalflags]
css cancel projectname [globalflags]

To list current projects, use one of the following commands:

css listproj
cscd listproj

To query a project, use the following command:

css queryproj projectname

To schedule a replication, use one of the following commands:

at [time] "drive:\program files\microsoft commerce server 2007\staging\bin\css.exe" deploy projectname
at [time] "drive:\program files\microsoft commerce server 2007\staging\bin\cscd.exe" deploy projectname

Examples of the previous commands are as follows:

at 14:30 "c:\program files\microsoft commerce server 2007\staging\bin\css.exe" deploy projectname
at 14:30 "c:\program files\microsoft commerce server 2007\staging\bin\cscd.exe" deploy projectname

To enable the CSS logging feature, use the following command:

cscd setglobal fulllogging=yes
cscd stop
cscd start

When you use the global parameter to enable the logging feature in CSS, the Cssapi.log file and the Csssrv.log file are generated. The Csssrv.log file gives detailed information about the project replication process. The logging feature is only recommended for troubleshooting. The feature should not be enabled at all times.

REFERENCES

For an overview of Commerce Server 2007, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:8/8/2006
Keywords:kbhowto kbinfo KB921488 kbAudDeveloper