Commerce Server 2009 Quick Installation Steps for Developers

The following quick installation instructions are for developers who already have a Commerce Server 2007 installation up and running and want to upgrade to Commerce Server 2009.

This post will walk you thru the required installation steps to get the sample Sharepoint DefaultSite working. It assumes you are running Commerce Server 2007 Standard or Enterprise editions on Windows Server 2008 and that you have a service account named servername\runtimeuser which is part of the local Administrators group, IIS_IUSRS group, and is a sysadmin on your SQL 2008/SQL 2005 machine.

The first thing that needs to be decided is whether you want to install WSS or MOSS.

If you are using WSS:

a.         WSS 3.0 with SP1; for the 32-bit version see https://go.microsoft.com/fwlink/?LinkId=139486; for the 64-bit version see <https://go.microsoft.com/fwlink/?LinkId=139487>

Note

You must perform a custom installation of WSS, not a basic installation.  Also choose the web frontend option when asked to.

b.         WSS 3.0 December Cumulative Update

           https://support.microsoft.com/kb/961755/

If using MOSS:

a.    MOSS 2007 SP1 (<https://go.microsoft.com/fwlink/?LinkId=130488>)

c.    Install the December Cumulative Updates for both WSS 3.0 and MOSS 2007 

      https://support.microsoft.com/kb/961755/

      https://support.microsoft.com/kb/961756/

The Sharepoint products and technologies configuration wizard should run after each cumulative update install.

We should now be ready to run the Commerce Server 2009 setup. The setup.exe is located on CD2 of the Commerce 2009 media.

clip_image001

During the setup near the end of the process it will launch the Microsoft Commerce Server Configuration Wizard, same as Commerce Server 2007.

clip_image002

After running the Configuration wizard the Commerce Server 2009 Upgrade wizard should launch. 

Be sure to migrate your site resources otherwise your old sites won't work!

clip_image004

Once installation is completed you may need to reboot.

Setting up your DefaultSite is as simple as running a wizard.

Go ahead and launch the Microsoft SharePoint Commerce Services Configuration Wizard

A dependency check will run and you will want to make sure everything checks out ok then click next.
clip_image005

Next you want to select Commerce SharePoint Default Web Site and Web Parts as your deployment option.

clip_image006

Now you want to select your Web Application. Go ahead and click the ... to create a new web application.

So you will now give a description and port for 2 IIS Sharepoint web sites to be created.

IIS Web Site will be a NTLM site used to edit/administer your site.

Extended IIS Web Site will be the actual web site that your customers will go to.

Go ahead and create a new application pool using servername\runtimeuser as the identity.

Once you click next the wizard will go ahead and create your 2 IIS Sharepoint sites and your application pool. It will configure all the authentication for you.

clip_image007

You will now be brought back to the following screen.

clip_image008

· Go ahead and select the web application you just created from the drop down.

· Verify that Create Commerce Site is checked.

· Modify your site name and description if you want to change it.

· Select Unpack Commerce Server Site (with sample data).

· Enter the name of your database server

Go ahead and click next, then confirm your selections on the next screen.

The wizard will go ahead and unpup the microsoftcommercedefaultsitewithsampledata.pup and create a new commerce site and setup the Commerce site.

You will now want to unpackage the web services from microsoftcommercedefaultsitewithsampledata.pup manually. This is located at \Program Files (x86)\Microsoft Commerce Server 2007\Microsoft Commerce Server 2009\Site.

Next you will want to go ahead and perform the normal post-deployment procedures.

Verify that your servername\runtimeuser has write permissions on the catalogauthorizationstore.xml

Setup your azman.msc permissions for you business user applications.

clip_image010

Use the following steps to create a Commerce Server user who owns the Default Site, and tie Commerce Server users to the SharePoint registered users group.

clip_image011To configure permissions for authenticated users

1. Open Customer and Orders Manager.

2. Create a new Commerce Server user profile that you will use as an Administrator for the forms-based authentication (FBA) zone of the Default site.

3. In Internet Explorer, access the main zone of the Default Site.

4. Click Site Action, click Site Settings, and then click People and Groups.

5. Under groups, click <site_name> Owners

6. Click New.

7. In the Add Users screen, in Users/Groups, type name of commerce server user created in step 1.

8. In left menu, under Groups, click More.

9. Click Registered Users.

10. Click New.

11. In the Add Users screen, in Users/Groups, type SignedInClient as the value.

clip_image013

clip_image011[1]To specify the Default Web site channel and catalog names

1. Log on to the operating system under a user account that has administrative privileges in SharePoint for the site collection where the Default Web site was deployed.

2. In your browser, navigate to the Default Web site. The URL is as follows:

https://<host>:<port>/Pages/default.aspx

3. Click Site Actions, and then click View All Site Content.

4. Under Lists, click Channel Configuration.

5. In the list, click Channel, and then click Edit item.

6. In the Value box, type Default, and then click OK. You must type the value exactly as it appears here.

7. In the list, click Default Catalog, and then click Edit item.

8. In the Value box, type Adventure Works Catalog, and then click OK.

clip_image015

Your Commerce 2009 Sample Site should now be up and running. Go ahead to IIS and browse the site!

image

Comments

  • Anonymous
    March 16, 2009
    Hello, Commerce Server 2009 is now available for MSDN Subscribers. This is discussed further at this