.NET development and architecture Coding dreams since 1998!

17Jun/07Off

Commerce Server 2007 Staging – How To

How to set up staging


The procedure of defining staging were presented by using the Staging MMC Console (UI way)


a) StartAll ProgramsMicrosoft Commerce Server 2007Commerce Server Staging


b) Create a new Project with a Wizard (you have to have admin privileges to do that)


CSS_SetUp_Step1


c) Enter name of staging project


CSS_SetUp_Step2


d) Choose what is the subject of staging: site stuff (would pack all the web site related pages, controls etc) or business data (product catalogues, marketing data)


CSS_SetUp_Step3


CSS does not support staging of the following data:


  • Inventory data or inventory schema changes.
  • Profiles or profile schema changes.
  • Direct mailer jobs, lists, or configuration.
  • Profile encryption keys.
  • SSL certificates.

e) Project source is very confusing step for me because it mentions some temporary storage location in description. The path you would typically enter here is the path to the folder containing your CS Site which is in case of starter site by default, this is C:InetpubwwwrootStarterSite


CSS_SetUp_Step2


f) Choosing a staging destination from a list of predefined destination or we have to create a new on


CSS_SetUp_Step5


g) There are 3 types of destination: remote server, route and local server


CSS_SetUp_Step6

End point server defines any remote server base storage destination

A route in CSS defines one or more destination servers during the site deployment. e.g. if you would like to publish your changes to multiple predefined location route is the solution. Routes are especially useful when you use the same source and destination servers for multiple staging projects.

Important note: If you create a route, you must manually create it on every server specified in the route

To store data on local server just enter an existing local path

h) The project schedule page is the page where we can schedule recursive staging occurrence and we can select automatic deployment of Content upon the change (something similar to file watch observing the file changes)

CSS_SetUp_Step8

e) The recursive options provided by scheduler of CS2007 are based on Windows scheduler engine with a bunch of self explanatory options

CSS_SetUp_Step9

f) Finally the last step includes summary screen where we need only to press Finnish button

CSS_SetUp_Step10

How to use created staging project


It is easy. Just right click the newly created project and pick the run option


CSS_Usage


Concept of staging in Commerce Server 2007 supports Rollback activity, but is important to notice here that the rollback would be applied only on Content (site items: pages etc) and not on Business Data (catalogue data and marketing where there is no possibility of roll back once data are been created on destination


Status


To verify the complete status of the staging take a look at Status field on the same panel, which would show Complete once staging would be completed

CSS_Usage2

Reports


To get more detail report about staging process chose one of the project reports in the left panel

CSS_Usage3

Properties


If you would right click the project name on the right panel and pick properties


CSS_Usage4


you would be presented with a property screen where you can set up various things regarding commerce server including the:


Filter setting


where you can define which files (or folders)  you want to exclude/include from staging


CSS_Usage5


Scripts


where you can define which VBScript files should be executed before and after the certain staging events


CSS_Usage6


 


Troubleshooting staging


Staging component is not been install by default.


You have to check Staging component during the installation process. If you already finished installation rerun the installation process again.


Check that Commerce Server Staging windows service is started after.


Running the staging installation produces
"The commerce server service connection point failed to install. Would you like to continue?"


If you happened to have next error message presented during the installation:



The commerce server service connection point failed to install. Would you like to continue?


CS2007_IgnoreIt[4]


Solution: Click on Yes


(The connection point is not used by anything within Commerce Server. It's only purpose in life is to identify a computer within AD has having Commerce Server installed.)


Running the CSConfig produces
"ASP is not enabled on this web server ..."


If you decide to rerun the CSConfig.exe file (located by default in c:Program FilesMicrosoft Commerce Server 2007)  with a /F (force) switch you could see next error screen 


CSS_Install_Error  


Obviously the reason is that on your IIS server ASP 3.0 extensions are not allowed and CSS uses some VBScript based packaging functions so it can not operates without it


Solution is:


a) StartRuninetmgr


b) Click Web Services extension in the left panel


c) Highlight Active Server Pages in right panel


d) Click on Allow button


CSS_Install_Error2


 


Trying to save staging project produces event id 6102 error "Access Denied"


CSS_SetUp_Error


Resolution:


Rerun the Commerce server configuration tool which would set appropriate account to be used for staging service.


If the Commerce Server would be installed in D:CS2007 path running the configuration tool would be


Start=>Run=>D:CS2007CSConfig.exe /f


Trying to see some of Staging Event Reports return 404  Page not found


If you are seeing this


CSS_Report_Err2


To resolve this issue rerun the CS configuration and check the creation of virtual folders


If the Commerce Server would be installed in D:CS2007 path running the configuration tool would be


Start=>Run=>D:CS2007CSConfig.exe /f


Check the "Create an IIS Virtual Root for Staging (used to generate reports" option


CSS_Report_Error


Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.

Page optimized by WP Minify WordPress Plugin