How to Deploy the Solution Storefront Site in Wizard Mode

These steps describe how to deploy the Solution Storefront site using the SharePoint Commerce Services utility in wizard mode, but you can also deploy the SharePoint Commerce Services from the command line. See How to Deploy the Web Parts in Silent Mode for more information.

You can deploy multiple Solution Storefront site collections on the same Web application. You can deploy the Solution Storefront site collection as a path-based collection or a host-named collection. Host-named collections are always root site collections, so you cannot deploy the Solution Storefront site as a host-named site collection to a Web application that already has a root site collection. Multiple instances of the Solution Storefront site can be mapped to the same Commerce Server site.

Before you run the SharePoint Commerce Services Configuration utility, ensure that the following services are running (Start > Administrative Tools > Services):

  • SharePoint 2010 Administration

  • SharePoint Server Search 14 (if using SharePoint Server 2010)

  • SharePoint Foundation Search V4 (if using SharePoint Foundation 2010)

  • SharePoint 2010 Timer

To deploy the Solution Storefront site in wizard mode

  1. Log on to the operating system under a user account that has the required permissions.

  2. Launch the SharePoint Commerce Services Configuration Wizard (Start > All Programs > Microsoft Commerce Server 2009 R2 > Tools > SharePoint Commerce Services Configuration Wizard).

    The SharePoint Commerce Services Configuration Wizard opens and verifies whether all required software is installed on the server and all required services are running. It displays the result of this dependency check.

  3. On the system dependency check page, review the results of the dependency check and click Next.

    If the dependency check page indicates that some software is missing or that some services are not running, click Cancel, install the missing software and/or start the required services, and start the Wizard again.

  4. On the SharePoint Commerce Services Selection page, select the Commerce Server Solution Storefront and Web Parts option, and click Next.

    The Wizard displays the page where you specify the SharePoint 2010 Web application and site collection information.

  5. On the SharePoint Application and Site Collection page, specify the Web application for the Solution Storefront site in the Web Application box:

    • To use an existing SharePoint 2010 Web application, select the application from the drop-down list. Go to step 7.

    • To create a new Web application, click Create (beside the Web Application box). Go to step 6.

  6. On the New Web Application page, do all of the following:

    1. In the IIS Web Site section, specify the following information:

      Use this

      To do this

      Description

      Specify a name for the new SharePoint 2010 Web application.

      Port

      Specify the port for the new SharePoint 2010 Web application.

      If you specify a port that is already in use, the wizard turns off the existing site in IIS that runs on that port.

      Host Header

      (Optional) Specify the host name to use for the host header, if different from the name of the host where the application is running.

    2. In the Extended IIS Web Site section, specify the following information:

      Use this

      To do this

      Description

      Specify a name for the extended SharePoint 2010 Web application.

      Port

      Specify the port for the extended SharePoint 2010 Web application (that is, the shopper zone of the application).

      If you choose a port that is already in use, the wizard turns off the existing site in IIS that runs on that port.

      Host Header

      (Optional) Specify the host name to use for the host header, if different from the name of the host where the application is running.

    3. In the Application Pool section, specify the following information:

      Use this

      To do this

      Use existing application pool

      Select this option to use an existing application pool (select the application pool from the drop-down list) for the new Web application.

      Create new application pool

      Select this option to create a new application pool for the new Web application.

      Application pool name

      Specify a name for the new application pool.

      User Name

      Specify the name of the user account to be assigned to the application pool identity.

      Password

      Specify the password for the user account.

      Password (Confirm)

      Re-type the password for the user account.

    4. Click Next.

      The Wizard creates the new Web application and returns to the previous page where you make your SharePoint 2010 application and site collection selections.

  7. On the SharePoint Application and Site Collection page, do all of the following:

    1. Specify the following information for the site collection.

      Use this

      To do this

      Title

      Specify the name of the new site collection for the default site.

      Description

      (Optional) Specify a description for the site collection.

      Administrator

      Specify the user account to be used for the primary administrator of the new site collection. The selected user automatically receives SharePoint 2010 administrative privileges for the site collection.

    2. Specify the following information for the site collection's Web site address:

      Use this

      To do this

      Path Based

      Select this option if you want to use a path-based URL for the Solution Storefront site.

      • If you are running the Solution Storefront site in a root site collection, select the / option from the drop-down menu.

      • If you are running the Solution Storefront site in a non-root site collection, select the /sites/ option from the drop-down menu, and specify a unique suffix for the URL in the next field. 

      Host Named

      Select this option if you want to use a host-named URL for the Solution Storefront site, and specify the URL in the following format, where <port> is the port number of your SharePoint 2010 web application:

      http://<host-named URL>:<port>

      It is assumed that you have configured your DNS settings for the site URL appropriately.

      Hh567744.alert_note(en-us,CS.95).gifNote:
      For development environments, mapping a host-named URL to localhost causes the Web site to display a blank page after being challenged numerous times. To resolve this issue you must disable loopback checking, as described in Disabling Loopback Checking.
    3. Click Next.

  8. On the Commerce Server site selection page, do all of the following:

    1. Specify the Commerce Server site you want to use for the Solution Storefront site.

      Use this

      To do this

      Create Commerce Server site

      Select this option to create a new Commerce Server site.

      Commerce Server Site

      Specify the name to assign to the new Commerce Server site, or select an existing Commerce Server site from the drop-down list.

      • If you are creating a new Commerce Server site, select Create Commerce Server site, and specify the name for the new site.

      • If you are using an existing Commerce Server site, make sure Create Commerce Server site is not selected, and select an existing Commerce Server site from the drop-down list. To have the correct schema, the Commerce Server site you select must have been unpacked from one of the package (Pup) files included with Commerce Server 2009 R2. 

      Site Description

      (Optional) Specify a description for the Commerce Server site.

      Unpack Commerce Server Site (schema only)

      Select to unpack the Commerce Server site schema only.

      Unpack Commerce Server Site (with sample data)

      Select to unpack the Commerce Server site schema with sample data from the Adventure Works Catalog

      Database Server

      Specify the host name of the database server where the new Commerce Server site'sdatabases are unpacked.

      To install the site's databases to multiple SQL Server hosts, select Advanced Database Options.

      Advanced Database Options

      (Optional) Specify the SQL Server host for each individual Commerce Server site database. You use this option when you want to install the site's databases to multiple SQL Server hosts.

    2. Click Next.

      A page appears listing a summary of the tasks the wizard will complete based on your selections.

  9. On the Authorization Stores page, do all of the following:

    1. In the Authorization field, select the authorization mode for the Commerce Server site from the drop-down menu:

      Use this

      To do this

      Required

      Authentication is required for all requests made from the Web application to the Commerce Server Foundation.

      Optional

      Authentication is only required for requests that require authorization. Requests for operations that require no authorization (for example, getProducts) are served whether security information is included in the request or not.

      Disabled

      Authentication is not required for the Web application to communicate with Commerce Server.

    2. In the Authorization Stores section, specify the location of existing authorization stores for the following Commerce Server services. If you do not want to use existing authorization stores, the wizard unpacks the authorization stores for you.

      Use this

      To do this

      Catalog

      Specify the location of an existing authorization store for the Catalog service.

      Orders

      Specify the location of an existing authorization store for the Orders service.

      Profiles

      Specify the location of an existing authorization store for the Profiles service.

      Commerce Entities

      Specify the location of an existing authorization store for Commerce Entities.

    3. In the profile key security section, specify a user name and passphrase to be used for profile key encryption:

      Use this

      To do this

      User Name

      Specify the name of the user account to be used for profile key encryption.

      Passphrase

      Specify a passphrase for the user account.

      Confirm Passphrase

      Re-type the passphrase for the user account.

    4. Click Next.

  10. Review the configuration summary, and click Next to proceed with the deployment of the Solution Storefront site.

    The Wizard displays a progress indicator.

  11. On the Configuration Complete page, click View Site to go to the new SharePoint 2010 site, or click Finish to exit the wizard.

Note

The Solution Storefront site cannot display Web Parts until you configure the channel and catalog for the site.

Disabling loopback checking

If you are deploying the Solution Storefront site as host-named site collection in a development environment, mapping the host-named URL to localhost in your /hosts file will result in a failure to access the site. You will be prompted numerous times to authenticate on the site, after which the Web site will display a blank page. To resolve this issue you must disable loopback checking on your local machine.

To disable loopback checking in a development environment

  1. From the Start menu, click Run and type regedit in the Run dialog box.

  2. In the Registry Editor window, navigate to the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

  3. Right-click on the Lsa subkey and select New > DWORD (32-bit) Value.

  4. Type DisableLoopbackCheck in the empty field for the new REG_DWORD and press Enter.

  5. Right-click on DisableLoopbackCheck and select Modify.

  6. In the Edit DWORD (32-bit) Value window, type 1 in the Value data field and click Ok.

  7. Close the Registry Editor.

  8. Restart the computer.

See Also

Other Resources

Commerce Server Solution Storefront