Microsoft Commerce Server 2009 R2 RC Installation Guide

Welcome to Microsoft Commerce Server 2009 R2 RC installation walk through.
System Requirements
RAM – 4GB for developers
– 8GB for production use
Storage – NTFS file system-formatted partition with a minimum of 3 GB of free space
Operating System – Microsoft Windows Server 2008 with Service Pack 2, 64bit
– Microsoft Windows Server 2008 R2, 64-bit (Recommended)
Database – Microsoft SQL Server 2008 with Service Pack 1 and Cumulative Update 2
– Microsoft SQL Server 2008 R2 (Recommended)
SharePoint – Microsoft SharePoint Server 2010
– Microsoft SharePoint Foundation 2010
(*Only required for SharePoint-based commerce deployment)
Business Management Tools (optional) – Microsoft Silverlight 3/4
Application Development (optional) – Microsoft Visual Studio 2008 with Service Pack 1
– Microsoft Visual Studio 2010

Before You Begin

*Uninstall any previous version of commerce server software if installed (i would recommend to go with a fresh VM installation)

* You must have administrative privileges on the computer where you are installing the software.

* Keep all the software ready for installation.

Installing Prerequisite Softwares

1. SQL Server

2. Visual Studio (Optional)

3. SharePoint 2010

4. Microsoft Silverlight

5. Install and Setup IIS 7.0 web server

6. If the setup program detects missing prerequisite software. Download and install via links provided in the dialog box. If you have installed above software then you will be prompted to install 3 more.

Installing Microsoft Commerce Server 2009 R2

Step 1: Run the setup file (if you don’t have setup, click here to download). Make sure you run the setup as local administrator or select “Run as administrator”.

Step 2: Click on Install Microsoft Commerce Server 2009 R2 Enterprise Edition on this computer link.

Step 3: Next screen you will see the list of prerequisites to be installed. Install all the prerequisites one by one. After installing, click Next.

Step 4: Select the components you want to install. For development installation, you can select all and click Next.

Step 5: On summary page, review the components to be installed and click Install.

Step 6: On Install click, Installation progress window will appear. This took 4-5 minutes for me.

Step 7: Once installation is complete, you will see screen like below. Click on Finish button to launch the Commerce Server Configuration Wizard.

Microsoft Commerce Server Configuration

Step 1:  On Commerce Server Configuration Wizard, load the configuration file if you have any and click Next.

Step 2:  Enter the SQL server instance name. Select the authentication type and click on Test button to verify the database connection. On successful test, click Next. (Make sure the account you are using must have DBCreator permissions on SQL server otherwise configuration will fail.)

Step 3:  For single server installation, you can skip the Staging service. Click Next.

Step 4: Enter the SQL server instance name. Select the authentication type and click Test button to verify the database connection. Provide the Direct Mailer Service Account details (I have used the local administrator account) and click Next.

Step 5: Review the components to be configured. Save the configuration file. This will be helpful if we have to do the installation on another server with same configuration or if setup fails on first attempt (Saved configuration file will not store the sensitive information like password. However, you can edit saved XML files and make password information available when the file is used in the future). Click Next.

Step 6: Configuration process will take 3-4 minutes. After successful completion, you will see a screen like below. Click Finish to close the wizard.

Congrats!!! Now you have successfully installed and configured the Commerce Server without any issues.

Microsoft SharePoint Commerce Services Configuration

Step 1: Start Microsoft SharePoint Commerce Services Configuration wizard. To do that, goto Start -> All Programs -> Microsoft Commerce Server 2009 R2 -> Tools  and select SharePoint Commerce Services Configuration Wizard. Verify all the checks must be green and click Next.

Step 2: Select Commerce Server Solution Storefront and Web Parts. Click Next.

Step 3: Click Create web application (you can also use existing web application if you have any).

Step 4: Creating web application (you can skip this step if you are using existing one). Takes 2-3 minutes.

Provide the necessary details for web application to be created and click Next.

Step 5: Select the web application and set administrator account and web site address. Click Next.

Step 6: Select Create commerce site and provide unique name for it. Provide Database server name and click Next.

Step 7: Specify the authentication store settings for commerce server site. For now, you can leave the settings as default. Provide username and passphrase for Profile key encryption and click Next.

Step 8: Review the configuration summary and click Next.

Step 9: SharePoint Commerce Services configuration will start and take 7-8 minutes. On successful completion, you will see a screen like below. Click View Site to open the site in browser and click Finish.

Step 10: Setting up the channel configuration. On website, click on Commerce Actions and open Management tab. Click Channel Configuration. (Note- You must have Silverlight installed to this setting from home page. Otherwise you can goto, Site Settings -> View All Site Content -> Channel Configuration). On first attempt, you may encounter an error page. Don’t worry, click on Go back to site and try again.

Step 11: You will be redirected to Channel Configuration list. Edit the Channel Configuration item and select the catalogs. Click Save.

wow!!! You are done. Now goto home page and you will find the sample products. Click on any product to see the details. Now you can explore more from here….Enjoy 🙂 🙂 🙂

Advertisements

About Rajan
I am Rajan Garg working as a Senior Software Engineer in a company. I am working on the Microsoft technologies.

30 Responses to Microsoft Commerce Server 2009 R2 RC Installation Guide

  1. ambaprasad says:

    How to get project configuration wizard in CS 2009 R2 RC either for 2008 or 2010

    • Rajan says:

      Expecting some major update from MS on template pack for CS 2009 R2….Currently CS 2009 template pack for SharePoint 2010 is available for download…you can give a try…here is the download link: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8298
      Other option is you can get the complete source code from installation folder. Open the project in VS, modify as per your needs and deploy to SharePoint. Let me know if you need any other info.

  2. maanikaraj says:

    hi i am maanikaraj working as sharepoint admin in a company.

    we installed commerce server 2009 r2 enterprise edition

    i crated one commerce site because i didn’t edit the configuration file an unexpected error its will come

    any one to help me how to resolve the error

    • Rajan says:

      Hi Maanikaraj,

      Can you post the error message details?
      Also steps how you created the Commerce Site?
      I am assuming you are creating Commerce site for SharePoint and hope you have used SharePoint Commerce Configuration Wizard to create SharePoint and Commerce site.

  3. Darcy says:

    Hi Rajan,

    I followed the same step that you provided in the installation guide blog. INstallation is complete, site is created, however the site web services such as catalog service, marketing service, profile services are not there in the IIS? what happened? did i miss something? please, advice

    thanks,
    darcy

    • Rajan says:

      Hi Darcy,

      Current blog is only for Commerce Server installation and default site creation. If you want to create web services for your newly created site, please check blog How to create Commerce 2009 R2 SubSystems web services

      Hope this helps.

      Regards,
      Rajan Garg

  4. pinal says:

    how to develope a web application by using sharepoint 2010 and commerce server 2009 r2?

    Can help me please..

    using visual studio.

    • Rajan says:

      Hi Pinal,

      What kind of web application you want to develop? Commerce Server 2009 R2 installation provide a default site and code for same. You can take that as initial project and start making changes.

      Let me know if you need any other help.

      Regards,
      Rajan Garg

      • Pinal says:

        thanks for replied..

        I just new with this technology.. so like i want create a shopping apllication and discount apllied..

        so can you please tell me the steps for starting and where this code will store and every thing..

        thank you…

      • Rajan says:

        Pinal, you can find the code in commerce server installation folders (i.e. Under program files). It should be under extensibility kit folder. Will send you the correct path tomo morning and some links to help you. Meantime you can also try to search same on google.

  5. Pinal says:

    I follow all the step you say but when i am going to edit the configuation chennal its gives error help me ???

    • Rajan says:

      Pinal, What error you are getting? Also did you verify that SharePoint Commerce Configuration wizard was successful?

      • Pinal says:

        I dont know how to veryfy..Can you tell me after installation what i have to do ..

        like all the steps of site packageing and to start a devloping….

        I am new so..

        Help me please.. thank you..

      • Rajan says:

        After installation if you are able to see default commerce SharePoint site…it means your installation is successful…can u post the error you get when you try to configure channel?

  6. Pinal says:

    Hi again come like will you know how to applied and mainatained a discount in CS 2009 r2..

    CS 2000 it will done by camaign manager.

    • Rajan says:

      As like CS 2000, with CS 2009 R2 installation you get business tools to mange each subsystem like Catalog, Profile, Orders & Market (Campain). You can find these tools in All Programs -> Installation folder. But before you use these tools you must configure the Web service for each subsystem. If you get stuck..check my blog on how to setup Web services.

      Cheers!!!
      Rajan

      • pinal says:

        Hey

        Can just help…

        i am so confused…

        after installation… what i have to do ?

        To create new application a small one .

        I cant see any thing in catalog manager..

        i am new please help me

  7. Rajan says:

    Pinal,

    If you are new to system, first thing i would suggest you to understand the architecture of Commerce Server 2009 R2 and integration with SharePoint 2010.

    If you want to directly jump to development then below links will surely help you get going:
    http://www.blfoley.com/2011/09/how-to-get-the-commerce-server-extensibility-kit-deployment-friendly/
    http://blogs.msdn.com/b/commerce/archive/2010/04/21/using-microsoft-commerce-server-2009-web-part-extensibility-kit-for-sharepoint-2007-effectively.aspx

    If needed revert back for any clarification.

    Cheers!!!
    Rajan

    • Pinal says:

      hi rajan…

      I install cs 2009 …
      Do the confirgation..

      now what i have to do ???

      • Rajan says:

        Hi Pinal,

        I am confused about your query. As its too short. First of all what do you want to do with the commerce server. If you are looking for creating an professional eCommerce site then better start with default site (comes after configuration). Understand how code is written then modify the same code instead of doing things from scratch.

        Cheers!!!
        Rajan

  8. Pinal says:

    hi i agree with you but how to use a default site.. I tell you what i already done step by step

    1) i install CS server 2009 r2.
    2) i configure Cs server.
    3) i do the site package..
    (but here the oder webservices not worked)
    3)catalog manager and create a connection

    4)when i go for oder and market manger its giving me error..

    5) so i go on sharepoint commerece services config..

    6) after that do the channal configuration .its done i can so thr data..

    now My question…

    We need services and all manager?

    In addrese book the country drop box cant display any thing..

    Where is the default site code and how to i modify?(where i can see the code)

    why order services not run?

    why this catalog manager cant display any thing its empty..

    please help me thank you..

    • Rajan says:

      Hi Pavel,

      Here are my reviews on your queries.

      1. Where is the default site code and how to i modify?(where i can see the code)
      [Extensibility kit (File Name: CommerceSharePointExtensibilityKit.zip) is present in folder where you have install the commerce server. Most probably in the C:\Program Files (x86)\Microsoft Commerce Server 9.0\Extensibility Kits]. Once you found the zip, extract it and then open the solution using VS 2008 or VS 2010. (I am big fan of VS 2010 so i converted the solution to VS 2010). Once you have the solution opened in VS, try to compile it. You may face so many errors, but try to resolve them patiently. They are just minor errors most are related to DLLs not found. Also go through below two link thoroughly as they provide in depth detail on how to start with extensibility kit.
      http://www.blfoley.com/2011/09/how-to-get-the-commerce-server-extensibility-kit-deployment-friendly/
      Below link specify steps for SP 2007 but it works for SP 2010 too.
      http://blogs.msdn.com/b/commerce/archive/2010/04/21/using-microsoft-commerce-server-2009-web-part-extensibility-kit-for-sharepoint-2007-effectively.aspx

      2. why order services not run?
      [Just check that your service is configured properly in IIS. You can goto IIS and debug it. Or Post error details.]

      3. why this catalog manager cant display any thing its empty..
      [First check Catalog web service is running successfully. If yes then using azman check you may have the permissions to view the catalog. If not then add yourself to the group.
      See this link on how to use azman. http://msdn.microsoft.com/en-us/library/dd451813.aspx%5D

      Hope this helps you. Best of luck!!!

      Cheers,
      Rajan

      • Pinal says:

        Thank you very much……

        Now i was able to see that solutionsite…..

        now i am going to extensibilitykit…

        thanks again…

  9. Pinal says:

    Please Ignore the last comment.

    I installed extensibilty kit and I open the comman.sln and sharepointcommerce.slh in a different solution. Then I went to the following link:

    http://blogs.msdn.com/b/commerce/archive/2010/04/21/using-microsoft-commerce-server-2009-web-part-extensibility-kit-for-sharepoint-2007-effectively.aspx

    and I followed steps 1 thru 7c, but I had problem with 7d (my .snk name is occ and this step we have to replace Microsoft.Commerce.Portal with our snk name, so it is giving me the error like occ..dll not found and at this point the build did not succeed ). So I skip the step 7d.

    Then I build both solutions and the build was successful,

    but when I am going to depoly this project .wsp file by using microsoft sharepoint shell. (there is no option to deploy in a right click so i go to manually deployeed on sharepoint farm solution.)It is giving me error like sharepoint.comman.dll not register in gac…(before that i also retract the solution from the fram solution and delete that)

    Can you please provide me solution to this problem? I will greatly appreciate.

    Also, thank you for your replies.

    • Rajan says:

      Hi Pavel,
      All steps are required and must be followed in same order as mentioned. If you skip any step solution won’t work. Undeploy the current solution and start fixing the solution with step 7d. Step 7d is to change the current namespace to custom one like CompanyName.Project. (you can give any name you like condition is that namespace should be consistent in all solutions).
      Hope it helps you.

      Cheers!!!
      Rajan

  10. Pinal says:

    Hi

    Thank you…

    Now Extensibilty Kit is build succesfull….

    But when i am going to deploye..

    Its gives error like One Features(CommerceServerStorefrontSiteResource) already installed or extis..

    When i do uninstalled..Th ..

    Its gives error your templete is invalid….

    Can you help me…

    Thanks for reply…

    Pinal

    • Rajan says:

      I assume solution is already installed with commerce default installation…try making changes to one of the library and deploy in gac directly and then look for changes you have made…

  11. Pinal says:

    Hi

    Thank you…

    Now Extensibilty Kit is build succesfull….

    But when i am going to deploye..

    Its gives error like One Features(CommerceServerStorefrontSiteResource) already installed or extis..

    When i do uninstalled..Th ..

    Its gives error your templete is invalid….

    Can you help me…

    Thanks for reply…

    Pinal

  12. Abraham says:

    Hi, have this error:

    *****CONFIGURATION STARTED [12/09/2012 | 20:26:28]

    ========== SOLUTION DEPLOYMENT ==========
    PLEXHQAPS-002 : http://plexhqaps-002:6060/ : The solution was successfully deployed.

    ========== SOLUTION DEPLOYMENT ==========
    PLEXHQAPS-002 : http://plexhqaps-002:6060/ : The solution was successfully deployed.

    ========== SOLUTION DEPLOYMENT ==========
    PLEXHQAPS-002 : http://plexhqaps-002:6060/ : The solution was successfully deployed.

    Commerce Server Site Packager encountered an error. Please check [C:\]Pup.log for more information
    The (Un)Packaging operation (command 0b905dd7-4109-414e-a9b2-89b51ec95dd4 has failed with the following error message: ‘Commerce Server Site Packager failed to restore Commerce Site’
    ********** ERROR: Commerce Server Site Packager failed to restore Commerce Site

    STACK: at Microsoft.Commerce.Portal.Setup.CommandObjects.UnpackageCommerceServerSiteCommand.Execute()
    at Microsoft.Commerce.Portal.Setup.UI.Confirmation.c__DisplayClassb.b__2()
    at Microsoft.SharePoint.SPSecurity.c__DisplayClass4.b__2()
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
    at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
    at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
    at Microsoft.Commerce.Portal.Setup.UI.Confirmation.ExecuteCommandObjects()
    Commerce Server Site Packager failed to restore Commerce Site
    STACK: at Microsoft.Commerce.Portal.Setup.CommandObjects.UnpackageCommerceServerSiteCommand.Execute()
    at Microsoft.Commerce.Portal.Setup.UI.Confirmation.c__DisplayClassb.b__2()
    at Microsoft.SharePoint.SPSecurity.c__DisplayClass4.b__2()
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
    at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
    at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
    at Microsoft.Commerce.Portal.Setup.UI.Confirmation.ExecuteCommandObjects()

  13. Ankur Dholakiya says:

    Hello,

    While setting up channel configuration, i get below error. I am not able to click on Edit Channel Configuration. Please help.

    04/07/2014 15:45:15.90 w3wp.exe (0x0EE0) 0x0644 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://commerce:2011/Lists/Channel%20Configuration/EditForm.aspx?ID=1&IsDlg=1) d4a72f82-7781-409c-ba46-90600d740a69
    04/07/2014 15:45:15.94 w3wp.exe (0x0EE0) 0x0644 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ d4a72f82-7781-409c-ba46-90600d740a69
    04/07/2014 15:45:15.94 w3wp.exe (0x0EE0) 0x0644 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=23.0065 d4a72f82-7781-409c-ba46-90600d740a69
    04/07/2014 15:45:15.99 w3wp.exe (0x0EE0) 0x0644 Web Content Management Publishing 7fz3 Medium Setting [Display] as the FormContext.FormMode for the current page d4a72f82-7781-409c-ba46-90600d740a69
    04/07/2014 15:45:16.35 w3wp.exe (0x0EE0) 0x0644 SharePoint Foundation Runtime tkau Unexpected System.InvalidOperationException: The operation service has received a request after the expiry date. Please contact Microsoft Support for a release version of this API. The error details have been logged by the service. at Microsoft.Commerce.Server.OperationService.ProcessRequest(CommerceRequest request) at Microsoft.Commerce.OperationServiceAgent.b__0(CommerceRequest r) at Microsoft.Commerce.OperationServiceAgent.ExecuteRequest(ServiceRequest service, CommerceRequest request, Boolean allowThrows) at Microsoft.Commerce.Portal.Common.SharePointOperationServiceAgent.InternalProcessRequest(CommerceRequestContext requestContext, CommerceRequest request) at Microsoft.Commerce.Portal.Common.SiteContext.ProcessRequest(CommerceRequest request, String defaultCh… d4a72f82-7781-409c-ba46-90600d740a69
    04/07/2014 15:45:16.35* w3wp.exe (0x0EE0) 0x0644 SharePoint Foundation Runtime tkau Unexpected …annel) at Microsoft.Commerce.Portal.Common.ChannelConfigurationController.get_GetChannelNames() at Microsoft.Commerce.Portal.ChannelConfiguration.ChannelNameFieldControl.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at Microsoft.SharePoint.WebControls.BaseFieldControl.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.C… d4a72f82-7781-409c-ba46-90600d740a69
    04/07/2014 15:45:16.35* w3wp.exe (0x0EE0) 0x0644 SharePoint Foundation Runtime tkau Unexpected …ontrol.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) d4a72f82-7781-409c-ba46-90600d740a69

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: