After R2 installation & configuration on existing CS server, if you try to open the application, you may get exceptions. One of the reason is that in R2, there are many changes happen to the existing API namespaces. This leads to ample amount of work for the developer if you want to migrate to the new R2 platform. If you are running the web parts provided by commerce server then your migration is simple and easy. To do this, you need to execute “SharePoint Commerce Services Configuration wizard” and below steps will help you to do easy migration.

Note: Click here to view the steps to create commerce server SharePoint website.

Step 1: Go to Start –> All Programs –> Microsoft Commerce Server 2009 R2-> Tools –> SharePoint Commerce Services Configuration Wizard.exe. The wizard opens and it does system dependency check. If any failure occurs, you can’t proceed next. Click on Next button if all dependency checks are passed.

image

Step 2: In this section, you need to enable the check box – “Upgrade Web Parts only (existing web parts will be replaced). The other options are same as old wizard and helps you to deploy new solution in SharePoint.

image

On Click of Next button, you will see a warning, which says “The wizard has detected that you have Commerce Server web parts installed on the system. Deploying the selected SharePoint solution will result in an upgrade of the web parts. Do you want to proceed?”. Click Yes button.

Step 3: That’s it, the wizard executes and in few seconds you will see the final page where it shows the existing solution is migrated.

image

Related Articles


If you like this post, please click on our sponsor advertisement.


Commerce server DEV team has created a new tool which will help us to migrate existing commerce server site 2009 site configuration files (only ChannelConfiguration.xml & Metadata.xml) to commerce server 2009 R2.  Note: This tool will not migrate the code and If you are planning to migrate either Commerce server 2002 or CommerceServer 2009 sites then you have to do it manually.

The tool name is Site Migration Tool and follow below steps to migrate your existing Cs2009 site.

Step 1: Start –> All Programs –> Microsoft Commerce Server 2009 R2 –> tools –> Site Migration Tool. Welcome screen appears. Click to initiate Commerce Server Web site detection.

image

Step 2: After processing all the files, the tool lists down available commerce server site sites . You can opt to migrate or not to migrate by checking or unchecking the check boxes.

image

The Site Migration Wizard creates a backup copy of each configuration file for selected sites before beginning the migration file. So, we need mention a directory name in the first directory. The Site Migration Wizard creates a separate folder and log file for each migrated site and you can provide the path in the second text box (in the above diagram both backup and log locations are auto-populated).

Some times you may get following exception. “The web Parts SharePoint solution must be upgraded to the current Commerce Server SharePoint Services version before configuration files can be migrated. This applies to the following SharePoint web sites.”. if you encounter this exception, you can’t proceed further. Check my other blog which will help you to migrate existing web parts to new version.

clip_image001

Step 3: The next screen shows the summary of items you have selected in previous slide. Press Next button to change the configuration files.

image

Step 4: This is final step and show the migration results.

Related Articles


If you like this post, please click on our sponsor advertisement.


In this article, we will see how can we upgrade our commerce server 2009 data to R2.  To do that, go to Start –> Microsoft Commerce Server 2009 R2 –> Tools –> Upgrade Wizard. This wizard is same as old wizard progress.

Screen 1: Welcome page – click on next button.

Screen 2: Select the directory to store log files. The default directory is the user profile Temp directory.

clip_image002[6]

Screen 3: Select the commerce server site you want to upgrade.

image

Screen 4: This screen will upgrade site resources to new version. The target versions are Product Catalog 7.6.0, Marketing 7.2.0, Inventory 7.5.0.

clip_image004[6]

Step 5: Upgrade process screen. The data is migrated.  Note: If you don’t select migrate in your previous screen that resource will not be migrated in this screen.

clip_image005[6]

Step 6: The final screen shows the summary of the migration. Click on “Main error Log” button to view the error log.

  clip_image006[6]

Related Articles


If you like this post, please click on our sponsor advertisement.


Couple of weeks before, Microsoft has released their next version of Commerce server R2. Click here to know more about R2 release and their downloads. Even through R2 installation is simple,  I thought of creating an article on this so that novice developer can able to do it easily. Before you install R2, make sure you have removed previous versions of commerce server (including business tools) else the installation will not be work properly.

After downloading the R2 bits, go to the installation directory and execute setup.exe file. You will seen prerequisites screen. Click on “Check for Prerequisites” button to make sure your hardware requirements are correct.

clip_image002

You can’t proceed further unless you install the prerequisite software. Till that point, the next button is disabled (Not sure why these are not kept as part of the build).

1. Microsoft Visual C++ 2008 Redistributable – X86

2. Microsoft Visual C++ 2008 Redistributable – X64

3. Microsoft Anti-Cross Site scripting

After installing prerequisite software the wizard is open and we can install them in few minutes.

Screen 1: You have to enter customer information.  No need to enter product key as it comes with R2 bits.

clip_image003

Screen 2: Read and accept the agreement.

Screen 3: Component installation screen – in this screen you need to select the appropriate components to install. Their is small change when compared to old commerce server setup. Since commerce server is pushed to app server or middle layer (no need to install on SharePoint server), based on the server the installation changes. For example Commerce foundation components can be installed on commerce server box, commerce presentation can be installed on the UI server, BizTalk adapters can be installed on BizTalk server (note, this option is disabled if you don’t have BizTalk server on your box), desktop business management tools, Commerce server documentation, Developer kits  can be installed on any desktop

clip_image005

Screen 4:  It shows the list of components you have selected to install.

clip_image007

Screen 5: Installation progress screen. It will show what are the components currently getting installed.

clip_image008

Screen 6: Final screen. Key things we need to check here. First, check whether the installation went well or not (you can see installation complete screen) and also click on “Click here to open the log file” to see the log file. Search for ‘Error” text in the log file. If any such text found, that means something problem in the installation.

clip_image009

That’s it, you have installed commerce server R2 on your box. Now the next step is to configure commerce server.

Related Articles


If you like this post, please click on our sponsor advertisement.


At last the long waiting CS2009 R2 is released today. Commerce Server 2009 R2 has come up with many features and provides an improved shopper and business management experience, a streamlined development experience, enhanced cross-channel enablement, and support for secure n-tier deployment when compared with existing CS2009 release.

You can download RC bits from below location.

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=517551a8-9eaf-4d5d-baff-6baad4b04cb6&displaylang=en

Microsoft Commerce Server 2009 R2 includes the Microsoft Multi-Channel Commerce Foundation and Microsoft SharePoint Commerce Services.

  • Multi-channel awareness, allowing you to name specific channels.
  • Shopping features such as direct list support, Windows Live ID, and Bing Maps integration.
  • A unified run-time programming model that uses a consistent structure for all calls across all Commerce Server 2009 R2 Core Systems.
  • A metadata model to give descriptive data to all properties.
  • Rich Internet application (RIA) support in a multi-tier environment.
  • Commerce Server Routing Service, which is a Windows Communication Foundation (WCF) service that forwards requests from the Web Business Tools to the Commerce Foundation API.

SharePoint Commerce Services includes:

  • Integration between Commerce Server 2009 R2 and SharePoint 2010 allowing for direct calls to lists through the Commerce Foundation.
  • Out-of-the-box e-commerce Web Parts and controls, offering ready-to-go functionality for any SharePoint-hosted site.
  • New Solution Storefront site that is pre-configured with the Web Parts and controls, ready to sell your merchandise.
  • SharePoint Commerce Services Extensibility Kit, which provides source code as a starting point for customizations of commerce Web parts and the out-of-the-box Solution Storefront.
  • Templates to easily skin specific pages with built-in template libraries, XSL transforms, along with Master Pages and CSS.
  • What-you-see-is-what-you-get (WYSIWYG) content management and design experiences offering designers and business users on-site editing and management of information and content.

 

I will try and share my findings soon to the community.

Related Articles


If you like this post, please click on our sponsor advertisement.


Follow me on Google+
Couldn't get data from google+
Sign up for Newsletter