This KB article details the tasks you must perform to retain your staging environment through an upgrade to Commerce Server (CS) 10.1 and later.
By default, Commerce Server does not keep staging projects created from the previous versions during the upgrade.
Complete the following taskflow to migrate the Staging data to Commerce Server 10.1
- Prepare the Staging Data for Migration
- Perform one of the following:
- Migrate from Commerce Server 2007, Commerce Server 2009, Ascentium Commerce Server 2009, Commerce Server 2009 R2, and Ascentium Commerce Server 9.0 R2.
- Migrate from Commerce Server 10.
- Verify the staging projects.
Prepare the Staging Data for Migration
Back up the CS Staging projects, routes, and credentials in the system registry.
- Start the Registry Editor and browse to CSS
- For Commerce Server 2007, Commerce Server 2009 R2, and Ascentium Commerce Server 9.0, browse to and expand the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CSS.
- For Commerce Server 10, browse to and expand the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS.
- Export the CSSCREDS key
- Right-click the CSSCREDS node in the tree view and select Export.
- In the Export Registry File dialog, enter a save file path and a name for the file and click Save.
-
Export the Projects key
- Right-click the PROJECTS node in the tree view and select Export.
- In the Export Registry File dialog, enter a enter a save file path and name for the file and click Save.
- Export the Routes key
- Right-click the ROUTES node in the tree view and select Export
- In the Export Registry File dialog, enter a enter a save file path and name for the file and click Save
Back up the CS Staging business data project configurations (This task is not required for Commerce Server 10).
- Open the Staging\Projects subdirectory in your Commerce Server Installation directory (eg c:\Program Files (x86)\ Ascentium Commerce Server 9.0\Staging\Projects\)
- Copy all files in the Projects directory to a save location.
Migrate from Commerce Server 2007, Commerce Server 2009, Ascentium Commerce Server 2009, Commerce Server 2009 R2, and Ascentium Commerce Server 9.0 R2
Upgrade to CS10.1
- Uninstall your currently installed version of Commerce Server.
- Install Commerce Server 10.1 as detailed in the Install Guide on the Technical Resources page.
- Edit your backed-up registry file
- Edit the CSSCREDS key
- Open the CSSCREDS registry file in the notepad (e.g. c:\staging-backup\csscreds.reg).
- Replace all instances of the string “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CSS” with “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS”
- Save and close the file.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS\CSSCREDS]
"DOMAIN\\StagingUser"="AQAAANCMnd8BFdERjHoAwE/Cl+sBAA..."
- Edit the Projects key
- Open the PROJECTS registry file in notepad (e.g. c:\staging-backup\csscreds.reg)
- Replace all instances of the string “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CSS” with “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS”
- Save and close the file
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS\Projects]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS\Projects\BizDataProject1]
"BusinessProject"="1"
"TransactionMethod"="NO"
"LocalDirectory"="c:\\css\\BizDataProject1"
"ReplicationMethod"="SENDINET"
"Flags"="512"
"Destination"="AQAAANCMnd8BFdERjHoAwE/Cl+sBAA..."
"SkipLockedFiles"="YES"
- Edit the Routes key
- Open the ROUTES registry file in notepad (e.g. c:\staging-backup\csscreds.reg).
- Replace all instances of the string “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CSS” with “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS”.
- Save and close the file.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS\Routes]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS\Routes\CS10Route1]
"Destinations"="AQAAANCMnd8BFdERjHoAwE/Cl+sBAA..."
"BaseDirectory"="c:\\css\\CS10Route1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CommerceServer\CSS\Routes\CS10Route2]
"Destinations"="AQAAANCMnd8BFdERjHoAwE/Cl+sBAA..."
"BaseDirectory"="c:\\css\\CS10Route2"
- Import the edited registry files
- Import CSSCREDS
- Open Windows Explorer.
- Browse to the directory that contains your backup registry files (e.g. c:\staging-backup).
- Right click the CSSCREDS registry file (e.g. csscreds.reg) and select Merge.
- Click Yes on the popup dialog box that appears.
- Click Ok on the popup dialog that confirms the keys were successfully imported into the registry.
- Import PROJECTS
- Open Windows Explorer.
- Browse to the directory that contains your backup registry files (e.g. c:\staging-backup).
- Right click the PROJECTS registry file (e.g. csscreds.reg) and select Merge.
- Click Yes on the popup dialog box that appears.
- Click Ok on the popup dialog that confirms the keys were successfully imported into the registry.
- Import ROUTES
- Open Windows Explorer.
- Browse to the directory that contains your backup registry files (e.g. c:\staging-backup).
- Right click the ROUTES registry file (e.g. csscreds.reg) and select Merge.
- Click Yes on the popup dialog box that appears.
- Click Ok on the popup dialog that confirms the keys were successfully imported into the registry.
- Restore the backup CS Staging business data project configurations
- Open Windows Explorer by clicking Start -> Computer.
- Browse to the directory that contains your backup business data project configuration files (e.g. c:\staging-backup\Projects).
- Press Ctrl+A to select all of the files, and then Ctrl+C to copy the files.
- Browse to the Commerce Server 10.1 installation directory (e.g. c:\Program Files (x86)\Commerce Server 10).
- Browse to the Staging\Projects sub directory.
- Press Ctrl+V to paste the business data project configuration files into the Projects directory.
Migrate from Commerce Server 10
Upgrade to CS10.1
- Launch the Commerce Server 10.1 installer for an in-place upgrade.
- Import the backup registry files.
- Import CSSCREDS
- Open Windows Explorer.
- Browse to the directory that contains your backup registry files (e.g. c:\staging-backup).
- Right click the CSSCREDS registry file (e.g. csscreds.reg) and select Merge.
- Click Yes on the popup dialog box that appears.
- Click Ok on the popup dialog that confirms the keys were successfully imported into the registry.
- Import PROJECTS
- Open Windows Explorer.
- Browse to the directory that contains your backup registry files (e.g. c:\staging-backup).
- Right click the PROJECTS registry file (e.g. csscreds.reg) and select Merge.
- Click Yes on the popup dialog box that appears.
- Click Ok on the popup dialog that confirms the keys were successfully imported into the registry.
- Import ROUTES
- Open Windows Explorer.
- Browse to the directory that contains your backup registry files (e.g. c:\staging-backup).
- Right click the ROUTES registry file (e.g. csscreds.reg) and select Merge.
- Click Yes on the popup dialog box that appears.
- Click Ok on the popup dialog that confirms the keys were successfully imported into the registry.
Verify the Staging Projects
Verify the staging projects have been successfully restored.
- Open Commerce Server Staging Manager by clicking Start -> All Programs -> Commerce Server 10 -> Commerce Server Staging Manager.
- In the tree view, expand Console Root -> Commerce Server Staging -> (local system) and click on the Projects node.
- Verify that all projects have been properly restored.
Note: you may not be able to view all properties of your business data staging projects until you use the Upgrade Wizard to migrate your site resource data. - Click on the Routes node in the tree view.
- Verify that all routes have been properly restored.