Installing Commerce Server 2002

Content Updated: August 15, 2003

Added information about obtaining Commerce Server 2002 Service Pack 2, which includes support for installing on Microsoft® Windows Server™ 2003, and support for installing Commerce Server 2002 Developer Edition on Windows XP and Windows 2000 Professional.

This document provides detailed instructions for installing Microsoft® Commerce Server 2002 (Commerce Server 2002) on a single computer. These instructions apply to all editions of Commerce Server.

These instructions are intended for single-computer installations and do not include information about securing Commerce Server 2002 services during installation. For information about securing your Commerce Server installation, see "Securing Your Site" in Commerce Server 2002 Help.

Important   It is strongly recommended that you install Microsoft Commerce Server 2002 using Microsoft Windows Integrated Security, and that you secure your databases to use Windows Authentication.

For information about upgrading from Commerce Server 2000 or a pre-release version of Commerce Server 2002, see "Upgrading Commerce Server 2002 Evaluation Edition or Prerelease Versions" in the Commerce Server 2002 Upgrade Guide at http://go.microsoft.com/FWLink/?LinkID=5591.

It is recommended that you use Microsoft Windows Advanced Server or Datacenter Server because you may eventually need more than 2 gigabytes of memory. The /3 gigabyte switch is only available with Advanced Server or Datacenter Server. In addition, with Advanced Server or Datacenter Server, you can configure Network Load Balancing clusters to deliver the reliability and performance that high-volume Web servers need.

Note   For Commerce Server product information such as the product version and product ID, visit the Microsoft Developer Network (MSDN®) site at http://go.microsoft.com/FWLink/?LinkID=5161. The "Platform SDK: Windows Installer" in the MSDN Library contains the MsiGetProductInfo function, which returns product information for published and installed products. You can also add Microsoft® Windows® Installer functionality to Commerce Server 2002 from the MSDN Library by using the MsiInstallProduct function.

Important   After you install Commerce Server 2002, it is recommended that you install Commerce Server 2002 Service Pack 2. For information about downloading Service Pack 2, see the Microsoft Commerce Server Web page at http://go.microsoft.com/fwlink/?LinkId=18865.

It is recommended that you read through this document completely before installing Commerce Server 2002. The following topics are addressed:

Hardware Requirements

This section lists the hardware requirements for Commerce Server 2002, Administration tools, and the Commerce Server Business Desk client.

Note   Actual requirements will vary based on your system configuration and the applications and features you choose to install.

Commerce Server 2002 Hardware Requirements

The hardware requirements for a Commerce Server 2002 server installation are:

In your production environment, the volume of traffic on your Web site may dictate more stringent hardware requirements for Web servers.

Administration Tools Hardware Requirements

The hardware requirements for a Commerce Server 2002 installation with Administration tools only are:

Business Desk Client Hardware Requirements

The hardware requirements for a Commerce Server Business Desk client are:

Software Requirements

This section lists the software requirements for Commerce Server 2002, Administration tools, and the Commerce Server 2002 Business Desk client.

For information about distributed software requirements, see "Deploying Your Site" in Commerce Server 2002 Help.

Commerce Server 2002 Software Requirements

Important   Microsoft Professional Support Services supports only the platforms described in this section.

Windows Server 2003 Platform

Commerce Server 2002 Service Pack 2 enables you to install on Windows Server™ 2003, and the Windows Server™ 2003 platform includes the following software.

Windows 2000 Platform

  1. Microsoft Windows 2000 Server, Advanced Server, or Datacenter Server.

    Note   It is recommended that you use Microsoft Windows Advanced Server or Datacenter Server because you may eventually need more than 2 gigabytes of memory. The /3 gigabyte switch is only available with Advanced Server or Datacenter Server. In addition, with Advanced Server or Datacenter Server, you can configure Network Load Balancing clusters to deliver the reliability and performance that high-volume Web servers need.

    Note   You can install Commerce Server 2002 Administrative Tools, the Business Desk, and Commerce Server 2002 Help on a computer running Windows 2000 Professional or Windows XP.

  2. Windows 2000 Service Pack 2.

    Note   Windows 2000 Service Pack 4 is the recommended Service Pack, which includes Windows 2000 Security Rollup Package 1.

  3. Internet Explorer 5.5 Service Pack 2.

    Note   Internet Explorer 6 is the recommended browser for Commerce Server 2002.

  4. Windows 2000 Security Rollup Package 1 (SRP1).

  5. MDAC 2.7.

    Note   MDAC 2.8 is recommended. You can download it from http://go.microsoft.com/fwlink/?LinkId=18915.

  6. SQL Server 2000. You must have Microsoft® SQL Server™ 2000 installed on the same network as Commerce Server 2002.

    Note   Commerce Server 2002 Service Pack 2 enables support for SQL Server 64-bit.

    Note   SQL Server Enterprise Edition is required if you plan to install any of the Commerce Server 2002 Solution Sites.

  7. SQL Server 2000 Analysis Services. You must install Analysis Services on the Analysis server used by the Data Warehouse.

  8. SQL Server 2000 Service Pack 3. If you are using the SQL Server 2000 Evaluation Edition to evaluate Commerce Server 2002, you do not need to apply SQL Server 2000 Service Pack 3.

  9. SQL Server 2000 Analysis Services Service Pack 3. If you are using the SQL Server 2000 Evaluation Edition to evaluate Commerce Server 2002, you do not need to apply SQL Server 2000 Analysis Services Service Pack 3.

  10. Office XP Web Components 10.0.

  11. MSXML 3.0 Service Pack 2.

    Note   The MSXML 3.0 Security Fix is recommended.

  12. MSXML 4.0.

    Note   The MSXML 4.0 Security Pack 1 is recommended.

  13. Microsoft® Visual Basic® 6.0 Service Pack 5 Runtime Hotfix.

  14. Hotfix Q294831: IIS patch to correct buffer-size allocation.

    Note   You do not need to install this Microsoft® Internet Information Services (IIS) patch if you installed Windows 2000 Service Pack 3 or 4.

  15. Hotfix Q313582: COM+ Rollup Package 18.1.

    Note   You do not need to install this Rollup Package if you installed Windows 2000 Service Pack 3 or 4.

  16. Microsoft Visual Studio® .NET 2003 (optional)

In addition to the required software, install the following software before installing Commerce Server 2002:

Note   To deploy an ASP.NET-based site on a Web server, install .NET Framework 1.0 on the Web server.

Note   For information about using .NET Framework 1.1 on Windows 2000 with Commerce Server 2002, see Microsoft Knowledge Base article number 825329, available at http://go.microsoft.com/fwlink/?LinkId=18841.

Administration Tools Software Requirements

If you want to install only the Administration tools, you must install the following software:

  1. One of the following: Microsoft® Windows Server™ 2003, Microsoft® Windows® 2000 Professional, Microsoft® Windows® XP Professional, Microsoft Windows 2000 Server, or Advanced Server.

  2. Windows 2000 Service Pack 2.

    Note   Windows 2000 Service Pack 3 is the recommended Service Pack, which includes the Windows 2000 Security Rollup Package 1.

  3. Internet Explorer 5.5 Service Pack 2 or greater.

    Note   Internet Explorer 6 is the recommended browser for Commerce Server 2002.

  4. Microsoft Internet Information Services 5.0 (IIS).

  5. Windows 2000 Security Rollup Package 1 (SRP1).

Business Desk Client Software Requirements

In order for Business Desk users to use Analysis Services over HTTP or HTTPS, your Commerce Server installation must use SQL Server 2000 Enterprise Edition. You cannot connect to SQL Server 2000 Standard Edition with HTTP connectivity. For more information about enabling a Business Desk user to run dynamic reports over HTTPS, see "Accessing the Analysis Server Over HTTPS" in Commerce Server 2002 Help.

Before you install the Commerce Server Business Desk client, you must install the following software on the client computer:

Important Notes

Installing Prerequisite Software

This section provides an overview of how to install the software required by Commerce Server 2002.

This section contains:

Installing Windows Server 2003

Commerce Server 2002 Service Pack 2 enables you to run Commerce Server on Microsoft® Windows Server™ 2003.

  1. Insert the Windows Server 2003 CD into the CD-ROM drive.

  2. Run the Windows Server 2003 Setup program and follow the online instructions.

  3. Note the following configuration requirement for Commerce Server:

Installing Windows 2000 Server or Advanced Server

If you want to install only the Administration tools or Commerce Server 2002 Help, you can use Microsoft® Windows® 2000 Professional.

Note   Commerce Server 2002 does not support upgrading from Windows NT 4.0 to Windows 2000 Server, and then installing Commerce Server 2002.

Note   It is recommended that you use Microsoft Windows Advanced Server or Datacenter Server because you may eventually need more than 2 gigabytes of memory. The /3 gigabyte switch is only available with Advanced Server or Datacenter Server. In addition, with Advanced Server or Datacenter Server, you can configure Network Load Balancing clusters to deliver the reliability and performance that high-volume Web servers need.

Important   If you want to install the Direct Mailer or the Predictor as highly available clustered resources, Microsoft Windows 2000 Advanced Server or Datacenter Server is required. Only Window 2000 Advanced Server and Datacenter Server include the Network Load Balancing feature so you can create Network Load Balancing clusters; Windows 2000 Server does not include that feature.

  1. Insert the Windows 2000 Server or Windows 2000 Advanced Server CD into the CD-ROM drive.

  2. Run the Windows 2000 Server Setup program and follow the online instructions. Observe the following requirements:

    Note   You can install Microsoft® Active Directory® directory service and use it with your Profiles data stores. For information about setting up your Active Directory servers, see "Setting Up Your Active Directory Servers" in Commerce Server 2002 Help. For information about adding profile data stores, see "Running the Profiles Resource" in Commerce Server 2002 Help.

Installing Windows 2000 Service Pack 2

  1. Use your Web browser to navigate to the Service Packs Web page at http://go.microsoft.com/FWLink/?LinkID=9834.

  2. Download Windows 2000 Service Pack 2, and then follow the online installation instructions.

Installing Internet Explorer 5.5 Service Pack 2

The Commerce Server Business Desk client requires Internet Explorer version 5.5 Service Pack 2 or later. In a single-computer installation in which the server is also being used as the Business Desk client, you must install Internet Explorer 5.5 Service Pack 2 or later. However, in a typical multi-computer environment in which the Business Desk client and Commerce Server 2002 are on different computers, you do not need to install Internet Explorer on the computer running Commerce Server 2002.

  1. Use your Web browser to navigate to the Internet Explorer 5.5 Service Pack 2 and Internet Tools Web page http://go.microsoft.com/FWLink/?LinkID=5771.

  2. Download Internet Explorer 5.5 or later, and then follow the online installation instructions.

Installing Windows 2000 Security Rollup Package 1 (SRP1)

The Windows 2000 Security Rollup Package 1 (SRP1) includes all security updates that have been delivered since Windows 2000 Service Pack 2. To download this package, navigate to the Windows 2000 Security Rollup Package Web page at http://go.microsoft.com/FWLink/?LinkID=6529. For more information about Windows 2000 SRP1, including a list of security fixes, see the Microsoft Knowledge Base article, "Windows 2000 Security Rollup Package 1 (SRP1)" at http://go.microsoft.com/FWLink/?LinkID=6537.

Installing MDAC 2.7

If Commerce Server 2002 must connect to a remote SQL Server computer, you must install Microsoft Data Access Components (MDAC) 2.7 on your Commerce Server 2002 computer, SQL Server 2000 computer, and Analysis Services computer.

Note   When you install SQL Server 2000 Service Pack 3 (a step explained later in this document), you will automatically install MDAC 2.7 Service Pack 1a.

Note   MDAC 2.8 is recommended. You can download it from http://go.microsoft.com/fwlink/?LinkId=18915.

Install MDAC 2.7 from the Commerce Server 2002 product CD (\Support\MDAC 2.7\mdac_typ.exe).

To obtain the latest MDAC Service Pack, see the Microsoft Knowledge Base article 820910 “How to Obtain the Latest MDAC 2.7 Service Pack,” available at http://go.microsoft.com/fwlink/?LinkId=18864.

Installing SQL Server 2000

With Commerce Server 2002 Service Pack 2, you can use Microsoft® SQL Server 2000 32 bit or 64 bit.

Commerce Server 2002 requires an installation of SQL Server 2000 on your Commerce Server 2002 computer, or an installation on a remote computer to which Commerce Server 2002 will have access.

Commerce Server 2002 does not support a Microsoft SQL Server™ 7.0 configuration.

Important   It is strongly recommended that you install Commerce Server 2002 using Microsoft Windows Integrated Security, and that you secure your databases to use Windows Authentication. If you install SQL Server using Windows Authentication you must install Commerce Server using Windows Authentication.

Note   If you have SQL Server running on a LAN or WAN elsewhere in your organization, you do not have to install the server components of SQL Server 2000 on the same computer as Commerce Server 2002.

Note   In a distributed deployment, you must install Microsoft Data Access Components (MDAC) 2.7 and the MDAC Service Pack 1 on the Commerce Server computer, the SQL Server 2000 computer, and the Analysis Services computer.

Note   If you are using the SQL Server 2000 Evaluation Edition to evaluate Commerce Server 2002, you do not need to apply SQL Server 2000 Service Pack 3.

  1. Insert the Microsoft SQL Server 2000 CD into the CD-ROM drive.

  2. Run the SQL Server 2000 Setup program using the Custom setup and follow the online instructions. Observe the following requirements:
  3. Complete the Setup wizard.

If you plan to install Commerce Server Direct Mailer, you must start SQL Server Agent.

To start SQL Server Agent

  1. Point to Start, click Programs, click SQL Server, and then click Service Manager.

  2. In the Services box, select SQL Server Agent, and then click Start/Continue.

Installing SQL Server 2000 Analysis Services

Analysis Services must be installed on the Analysis server used by the Data Warehouse and the server used to unpack the Data Warehouse resource (if the Analysis database exists on a different computer than the one used to unpack). Perform the following steps if you have not already installed the SQL Server 2000 Analysis Services.

Note   If you install Analysis Services on your computer after you install Microsoft Office XP, OLAP-based PivotTables in Excel XP are no longer able to communicate with Analysis Services. For information about reconnecting to the OLAP server, see Cannot connect to the OLAP server when unpacking a site in this document.

  1. Insert the Microsoft SQL Server 2000 CD into the CD-ROM drive.

  2. Run the Analysis Services Setup program and follow the online instructions.

Installing SQL Server 2000 Service Pack 3

SQL Server 2000 Service Pack 3 (SP3) addresses specific issues discovered in SQL Server 2000 since its initial release. Because SQL Server Service Packs are cumulative, SP3 includes all fixes from previously released Service Pack 1 (SP1) and Service Pack 2 (SP2), and can be applied to either an original installation of SQL Server or to one which has already had SP1 or SP2 applied.

Note   When you install SQL Server 2000 Service Pack 3, you will automatically install MDAC 2.7 Service Pack 1.

To install SQL 2000 Service Pack 3

  1. Use your Web browser to navigate to the Microsoft SQL Server Downloads Web page at http://go.microsoft.com/FWLink/?LinkID=6730.

  2. Click Download SQL Server 2000 Service Pack 3.

  3. Download SQL Server 2000 Service Pack 3 (contained in the SQL2KSP3.exe file), and then follow the online installation instructions.

    Note   If you are using the SQL Server 2000 Evaluation Edition to evaluate Commerce Server 2002, you do not need to apply SQL Server 2002 Service Pack 3.

Installing SQL Server 2000 Analysis Services Service Pack 3

SQL Server 2000 Analysis Services Service Pack 3 (SP3) for the Analysis Services components of SQL Server 2000 includes the following updates:

To install SQL Server 2000 Analysis Services Service Pack 3

  1. Use your Web browser to navigate to the Microsoft SQL Server Downloads Web page at http://go.microsoft.com/FWLink/?LinkID=6730.

  2. Click Download SQL Server 2000 Service Pack 3.

  3. Download SQL Server Analysis Service 2000 Service Pack 3 (contained in the SQL2KASP3.exe file), and then follow the online installation instructions.

Setting SQL Server Connections

When you install Microsoft SQL Server, by default the number of SQL Server connections is set to zero (0), indicating that you can have an unlimited number of connections. Changing this setting is not recommended.

If you choose to change the number of connections, you must allocate four connections for each computer in your Commerce Server installation.

Perform the following two procedures only if you have changed the number of SQL Server connections from zero, and you now need to determine the number of SQL Server connections currently in use and set the number of SQL Server connections you need.

To determine the number of SQL Server connections currently in use

  1. Click Start, point to Programs, point to Microsoft SQL Server, and then click Query Analyzer.

  2. Type the following query in the Query window:
    select * from master..sysprocesses where hostname <>''

    where '' is two single quotes.

  3. Click Execute Query on the toolbar or press F5.

Query Analyzer displays the number of SQL Server connections currently in use. The number of rows equals the number of SQL Server connections.

To set SQL Server connections

  1. Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.

  2. In the Enterprise Manager window, right-click the SQL Server to which you want to add connections, and then click Properties.

  3. In the SQL Server Properties (Configure) dialog, click the Connections tab.

  4. In the Maximum concurrent user connections (0 = unlimited) box, type the number of connections you need, and then click OK.

Installing Office Web Components

The Microsoft Office XP Web Components are located on the Commerce Server 2002 CD in the following folder: \\Program Files\Commerce Server 2002\Widgets\OWC10\<xxxx>\owc10.exe, where xxxx is the Business Desk locale ID.

The following codes are valid Business Desk locale IDs:

To ensure full functionality of the Office Web Components, install them using one of the following setup programs:

You can also run the owc10.EXE file and install it in the <drive:>\Program Files\Commerce Server 2002\Widgets\OWC10\<xxxx>\owc10.exe folder, where xxxx is the Business Desk locale ID. The controls installed in this manner display dynamic reports; however, the downloaded controls are not licensed and do not enable full functionality of the Office Web Components.

Installing MSXML 3.0 SP2

Note If Internet Explorer 6 is installed on the computer on which you are installing Commerce Server 2002, you do not need to install MSXML 3.0 SP2.

Install MSXML 3.0 SP2 from the Commerce Server 2002 product CD (\Support\MSXML 3.0 Sp2\msxml3sp2setup.exe).

Installing MSXML 4.0

MSXML 4.0 is used when product catalogs are imported. You can install MSXML 4.0 with MSXML 3.0 SP2 on the same computer in side-by-side mode.

Install MSXML 4.0 from the Microsoft XML Core Services 4.0 Web page at http://go.microsoft.com/fwlink/?LinkId=6935.

Installing Visual Basic 6.0 Service Pack 5 Runtime Hotfix

Install this hotfix from the Commerce Server 2002 product CD (\Support\Platform Updates\VBRun60sp5.exe).

Installing Hotfix Q294831

When an Active Server Pages (ASP) script uses the Server.HTMLEncode and Server.URLEncode methods, if the session codepage is set to UTF8, the data on certain strings may become corrupted. Hotfix Q294831 corrects the way IIS allocates buffer size for UTF8 characters.

Installing Hotfix Q313582

This hotfix (COM+ Rollup Package 18.1) includes an accumulation of COM+ hotfixes that have been available since the release of Windows 2000 SP2. To install Hotfix Q313582 do the following:

  1. Use your Web browser to navigate to the Microsoft Knowledge Base article “Availability of Windows 2000 Post-Service Pack 2 COM+ Hotfix Rollup Package 18.1” at http://go.microsoft.com/fwlink/?LinkId=6027.

  2. Download the Q313582_W2K_SP3_x86.exe file in the language of your Windows 2000 installation, and follow the online installation instructions.

    Note   It is recommended that you deploy the current security implementation best practices, including the IIS Lockdown Tool, at http://go.microsoft.com/fwlink/?LinkId=13012.

About the Installation Process

Before you install Commerce Server 2002, you must have first installed SQL Server 2000 and Analysis Services and several other applications. For a complete list of the required software and the order of installation, see Software Requirements.

Before you start the Commerce Server 2002 Setup, make sure your Windows 2000 logon account is a member of the Administrators group on the installation computer. For more information about Windows 2000 logon accounts, see the Windows 2000 online documentation.

Note   To install Commerce Server 2002 from within Windows Terminal Services, you must use a Uniform Naming Convention (UNC) path rather than a mapped drive.

This section contains:

Types of Installation

Four types of server installation are available:

Accounts for Commerce Server Services

When you install Commerce Server, you must enter a domain user account and password to be used by the following Commerce Server services:

Commerce Server Setup automatically grants the logon as a service right to the account(s) you specify. The Commerce Server 2002 Direct Mailer, List Manager service, Predictor resource, and Event Logging require an account for security and network access. Event Logging must run under a local Administrator account.

Note   For evaluation purposes only, it is recommended that you use the same account for each service because it is easy to do. If this account is disabled at a later date, or if the password is changed, Commerce Server will stop working. For instructions about changing a service account or password, see "Changing a Service Account or Password" in Commerce Server 2002 Help.

Administration Database

The Administration database is created during the first installation of Commerce Server 2002. During installation, you must specify the name of the SQL Server computer where the Administration database is created. When you install Commerce Server 2002 on additional computers, you point the computers to the Administration database during setup. By setting up all the computers to point to this central database, you can manage all of the Commerce Server 2002 computers from a central console.

If you choose to install Direct Mailer, you will be prompted for information about where its database is located.

Installing Commerce Server 2002 on One Computer

The following procedures describe how to install Commerce Server 2002 on one computer using the Complete installation option. You must close all other applications before proceeding.

If you are installing Commerce Server on Windows Server™ 2003, after you perform the instructions in this section, you must perform the instructions explained in Installing Commerce Server 2002 on Windows Server 2003.

Important   It is strongly recommended that you install Commerce Server 2002 using Microsoft Windows Integrated Security, and that you secure your databases to use Windows Authentication.

You must perform a number of steps to install Commerce Server using Windows Integrated Security. For information about how to deploy Commerce Server using Windows Authentication and how to secure your services and databases, see "Deploying Commerce Server Using Windows Authentication" in Commerce Server 2002 Help.

Note the following:

Important   If you are upgrading from Commerce Server 2000, and you customized the Direct Mailer and Predictor global resources, your custom settings will not be maintained. Before you install Commerce Server 2002, you must note the Direct Mailer and Predictor custom settings, and then manually re-enter them after the upgrade.

To install Commerce Server 2002 on one computer

  1. Insert the Commerce Server 2002 CD into the CD-ROM drive. The Commerce Server 2002 Autorun Menu starts.

    Note   If the Autorun Menu does not start, navigate to the root directory of the Commerce Server 2002 CD, and double-click Setup.exe.

    Warning   Do not double-click Microsoft Commerce Server 2002.msi. You must use Setup.exe in order to install MSI 2.0 and perform the necessary checks for your Commerce Server 2002 platform.

  2. On the Commerce Server 2002 Autorun Menu, click Commerce Server 2002 Components.

  3. In the Commerce Server Setup dialog box that informs you to install Windows 2000 post-SP2 hotfixes, click OK.

  4. In the Commerce Server Setup dialog box that asks if you want to install the .NET Framework, click the appropriate option. If you select Yes, the .NET Framework setup program starts. If you select No, go to step 7.

  5. In the Microsoft .NET Framework Setup screen, click Next.

    The installation process starts.

  6. In the Microsoft .NET Framework Setup dialog box, click OK.

  7. On the Welcome to the Microsoft Commerce Server 2002 Setup Wizard page, click Next.

  8. On the CPU License page, select I have purchased the licenses, and then click Next.

  9. On the Prerequisites page, click Next.

  10. On the License Agreement page, select I accept the terms in the license agreement, and then click Next.

  11. On the Customer Information page, type your User Name, Organization, and Product key, and then click Next.

  12. On the Destination Folder page, accept the default installation folder, or click Change to specify a different folder, and then click Next.

  13. On the Setup Type page, select Complete, and then click Next.

  14. On the Administration Database Configuration page, do the following:
    Use this To do this
    SQL Server Computer Type the SQL Server computer name for your Administration database. If SQL Server was installed locally, the local computer name is displayed.
    Use Windows Integrated Security This option uses Windows user accounts to authenticate to the Administration database on SQL Server.

    When you use Windows Integrated Security, you must create accounts and assign appropriate permissions in SQL Server for the necessary database roles. For detailed instructions about using Windows Integrated Security, see "Deploying Commerce Server Using Windows Authentication" in Commerce Server 2002 Help.

    Note   It is strongly recommended that you install Commerce Server using Windows Integrated Security, and that you secure your databases to use Windows Authentication.

    Use a Specific User Name and Password Check this option if you want to use SQL Server authentication when connecting to the Administration database.
    SQL Server Login Name Type the user account for the Administration database.

    Note   For security purposes, do not use the sa login for access to the Administration database. To change the login information for the Administration database after it is created, use SQL Server Enterprise Manager.

    SQL Server Login Password Type the login password for the Administration database.

    Note   You should always use strong passwords when creating SQL Server login passwords. For information about strong passwords, see "Using Strong Passwords" in Commerce Server 2002 Help.


  15. Click Next.

  16. In the Microsoft Commerce Server 2002 dialog box that informs you that a new administration database will be created, click OK.

  17. On the Direct Mailer Database Configuration page, do the following:
    Use this To do this
    SQL Server computer Type the local computer name. If the computer is a virtual node of a SQL Server cluster, type the name of the virtual node.

    Note   If the Direct Mailer Service is clustered, the server name should be a Microsoft Windows Clustering service virtual server name, not the physical node name.

    Use Windows Integrated Security This option uses Windows user accounts to authenticate to the DirectMailer database on SQL Server.

    When you use Windows integrated security, user names and passwords are not stored in the SQL Server connection string, and are not affected by SQL Server password resets. For information about Commerce Server security, see "Securing Your Site" in Commerce Server 2002 Help.

    Note   It is strongly recommended that you install Commerce Server using Windows Integrated Security, and that you secure your databases to use Windows Authentication.

    Use a Specific User Name and Password Select this option if you want to use SQL Server authentication when connecting to the DirectMailer database.
    SQL Server Login Name Type the user account for the DirectMailer database.

    Note   For security purposes, do not use the sa login for access to the DirectMailer database. To change the login information for the DirectMailer database after it is created, use SQL Server Enterprise Manager.

    SQL Server Login Password Type the login password for the DirectMailer database.

    Note   You should always use strong passwords when creating SQL Server login passwords. For information about strong passwords, see "Using Strong Passwords" in Commerce Server 2002 Help.


    If you are creating the DirectMailer database, in the SQL Server Login Name and SQL Server Login Password boxes, type a SQL Server login that has permissions on the master database to create a new database. To view the permissions for the SQL Server login for the master database, use Enterprise Manager.

  18. Click Next.

  19. In the Services Accounts screen, select Windows 2000 account(s) for the specified services, and then click Next.

    Commerce Server Setup automatically grants the logon as a service right to the account(s) you specify. The Commerce Server 2002 Direct Mailer, List Manager service, Predictor resource, and Event Logging require an account for security and network access. Event Logging must run under a local Administrator account.

    Note   For evaluation purposes, use the same account for each service. If this account is disabled at a later date, or if the password is changed, Commerce Server will stop working. For instructions about changing a service account or password, see "Changing a Service Account or Password" in Commerce Server 2002 Help.

  20. Click Install to begin the installation process.

  21. Click Finish to exit the Setup program.

  22. In the Microsoft Commerce Server 2002 dialog box, click Yes to restart your computer. Proceed to the next topic, Installing Commerce Server 2002 Service Pack 2.

    If you installed Commerce Server on Windows Server 2003, you must now install Commerce Server Service Pack 2 and perform the instructions explained in Installing Commerce Server 2002 on Windows Server 2003.

For information about completing the Commerce Server 2002 installation, see Post-Installation Recommendations.

Notes   

Installing Commerce Server 2002 Service Pack 2

The following steps apply to a new installation of Commerce Server. If you are updating an existing installation, see the Service Pack 2 Readme for instructions about protecting your customizations.

To install Commerce Server 2002 Service Pack 2

  1. Download the Service Pack 2 file from the Commerce Server Web site, available at http://go.microsoft.com/fwlink/?LinkId=18865.

  2. Run the downloaded file, CS2002-SP2-<language>.exe, to extract the Service Pack 2 setup files.

  3. In the Microsoft Commerce Server 2002 Service Pack 2 dialog box, specify the directory to which you want to extract the Service Pack 2 files.

    Extract the following five files to the same directory:

    Extract the following two files to the same directory. They can be in the same directory as the above files, or a different directory.

  4. Double-click Sp2setup.exe to install Service Pack 2.

  5. You may receive the following message from Windows Server 2003:

    "Commerce Server 2002 has a known compatibility issue with this version of Windows and might not run as expected. For more information, contact Microsoft."

    Ignore this message; it is benign. At the last screen, accept the default to run the hotfix update tool.

Installing Commerce Server 2002 on Windows Server 2003

On each computer that is running Commerce Server 2002 and Windows Server 2003, you must perform the steps in the following topics:

You can configure 1-2 using a script, EnableCS2002Settings.vbs, included in Service Pack 2, or by manually configuring the server. Detailed instructions for configuring Windows Server 2003 are provided in the following sections.

For additional information about securing your Commerce Server installation (for example, securing service accounts, databases, and Business Desk), see "Securing Your Site" in Commerce Server 2002 Help.

Running EnableCS2002Settings.vbs

Service Pack 2 includes a script, EnableCS2002Settings.vbs, which you can use to automatically configure your security settings.

Run this script on all Web servers in your environment to enable the following IIS 6.0 Web Service Extensions:

EnableCS2002Settings.vbs disables the access level checks for the two Commerce Server COM+ applications: Commerce Server Event Logging and Report Manager.

To run EnableCS2002Settings.vbs

Enabling IIS Web Service Extensions Manually

If you do not want to run the EnableCS2002Settings script, perform the following steps to enable the required IIS Web Service Extensions manually.

Perform these steps on all Web servers in your environment to enable the following IIS 6.0 Web Service Extensions:

To enable Active Server Pages and ASP.NET

  1. Click Start, click All Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. In Internet Information Services (IIS) Manager, right-click Active Server Pages, and then click Allow.

  3. Repeat these steps to enable ASP.NET v1.1.4322.

To enable Server Side Includes

  1. Click Start, click All Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. In Internet Information Services (IIS) Manager, right-click Server Side Includes, and then click Allow.

To enable WebDAV

If you do not perform this step, when you try to import XML catalogs, you will receive the following message: "Unable to open or create file." Business Desk uses WebDAV to transfer files from the client to the server, and WebDAV is disabled by default on Windows Server 2003 for security reasons. You must enable it.

  1. Click Start, click All Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. In Internet Information Services (IIS) Manager, right-click WebDAV, and then click Allow.

To enable Commerce Server AuthFilter ISAPI extension

  1. Click Start, click All Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. Right-click Web Service Extensions, and then click Add a New Web Service Extension.

  3. In the New Web Service Extension dialog box, browse to %COMMERCE_SERVER_ROOT%\siteauth.dll to add the ISAPI filter to the extension list, and then enable it.

Disabling Security Settings for Commerce Server Event Logging and Report Manager

If you do not want to run the EnableCS2002Settings script, perform the following steps to disable the security settings for Commerce Server Event Logging (COM+ Applications) and Report Manager.

To disable security settings for Commerce Server Event Logging and Report Manager

  1. Click Start, click All Programs, click Administrative Tools, and then click Component Services.

  2. In the Component Services dialog box, click Component Services, click Computers, and then click My Computer.

  3. Select Commerce Server Event Logging, and then right-click Commerce Server Event Logging.

  4. On the Security tab, clear the Enforce access checks for this application checkbox.

  5. Repeat these steps to disable the settings for Report Manager.

Disabling Security Settings for Commerce Server List Manager and Predictor Services

Perform these steps only if you are going to use List Manager and Predictor services.

To disable the security settings for the List Manager service (DCOM Config)

  1. In Component Services, select ListManager, right-click ListManager, and then click Properties.

    Note  ListManager may appear as "Microsoft Commerce Server ListManager Service."

  2. On the Security tab, under Access Permissions, click Customize, click Edit, and then add the Administrators group. Use Administrators group for evaluation purposes only. In a production environment, use the appropriate group for the List Manager service account.

To disable the security settings for the Predictor service (DCOM Config)

  1. In Component Services, select Microsoft Commerce Server Predictor Service, right-click Microsoft Commerce Server Predictor Service, and then click Properties.

  2. On the Security tab, under Access Permissions, click Customize, click Edit, and then add the Administrators group. Use Administrators group for evaluation purposes only. In a production environment, use the appropriate group for the Predictor service account.

Configuring the Default Application Pool

You need to set the Default Application Pools so you can use the Commerce Server 2002 .NET components.

  1. In Internet Services Manager, right-click Default Application Pool, and then click Properties.

  2. Click the Identity tab.

  3. Change the setting Configurable, and then click OK.

Adding IIS_WPG as a SQL Login

For Windows Server 2003, you need to add IIS_WPG as a SQL login because Commerce Server Auth Manager uses it. If you are not using Auth Manager, you do not need to perform this step.

To add a IIS_WPG login

  1. Click Start, click Programs, click Microsoft SQL Server, and then click Enterprise Manager.

  2. Expand the local server, and then expand Security.

  3. Right-click Logins, and then click New Login.

  4. In the SQL Server Login Properties – New Login dialog box, click the Name browse button.

  5. In the List Names From box, select the local computer.

  6. In the Names box, select the IIS_WPG name, click Add, and then click OK.

  7. Click the Server Roles tab, and then select System Administrator.

  8. Click the Database Access tab, and then select MSCS_Admin.

  9. Click OK.

Disabling the Parent Paths Property

By default, the parent paths property (also known as a relative path) in Internet Services Manager (IIS) 6.0 is disabled. For applications exposed to the Internet, enabling this property exposes a security risk.

When you unpack a Solution Site onto IIS 6.0, the Enable parent paths property is enabled on both the Business Desk application and the runtime application.

This configuration is a security risk for your runtime application. After unpacking your site, you must disable the parent paths property.

This is not a significant security risk for your Business Desk application because it is on a corporate intranet.

To disable the parent paths property

  1. Click Start, click All Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. In Internet Information Services (IIS) Manager, right-click your Web application, and then click Properties.

  3. In the IISHelp Properties dialog box, click the Home Directory, Virtual Directory, or Directory tab, and then click Configuration.

  4. In the Application Configuration dialog box, click the App Options tab.

  5. Clear the Enable parent paths property, and then click OK.

Installing Commerce Server 2002 on Multiple Computers

When you install Commerce Server 2002 on multiple computers there are specific operations that you must perform. For information and examples to follow for installing Commerce Server 2002 in a multi-computer configuration, see "Deploying Your Site" in Commerce Server 2002 Help. For information about securing your site, see "Best Practices for Security" in Commerce Server 2002 Help.

Note the following issues:

Post-Installation Recommendations

After you install Commerce Server 2002, it is recommended that you perform the following steps:

  1. Secure your site and your Commerce Server and application files. For more information, see "Securing Your Site" in Commerce Server 2002 Help.

    Note   If you installed Commerce Server using Windows Integrated Security, see "Deploying Commerce Server Using Windows Authentication" in Commerce Server 2002 Help.

  2. Install the Commerce Server 2002 Solution Sites and unpack a Solution Site, such as the Blank site. Each Solution Site includes a Business Desk application. To install a Business Desk application, you must unpack a Solution Site.

  3. Install the Business Desk Client. You must perform this step for all computers from which you want to access Commerce Server Business Desk, including the computer running Commerce Server 2002.

  4. Secure the Business Desk user interface. For information about securing your Business Desk, see "Business Desk Security" in Commerce Server 2002 Help.

  5. Back up your newly created Administration database with a different name. You can use this backup to roll back any changes that are made later.

Installing Commerce Server 2002 Solution Sites

Commerce Server provides three Solution Sites — the Blank site, the Retail site, and the SupplierActiveDirectory site. These Solution Sites include all of the resources a site developer needs to build a retail site. The Solution Sites also include a Business Desk application.

To install the Retail and SupplierActiveDirectory Solution Sites, use the Microsoft Commerce Server 2002 Solution Sites.msi file located at http://go.microsoft.com/fwlink/?LinkId=6491.

For instructions about unpacking a site, see "Using Site Packager" in Commerce Server 2002 Help.

For detailed instructions about unpacking a site in a multi-computer environment, see "Deploying Your Site" in Commerce Server 2002 Help.

Commerce Server also includes an International Retail Site (Retail2002). This is a .NET-based multilingual, multicurrency, business-to-business, and business-to-consumer Web site, which is similar to the Retail Solution Site provided for Commerce Server 2002. For information about installing this site, see Installing the International Retail Site (Retail2002).

Unpacking a Solution Site

You use Commerce Server Site Packager to unpack a site (including a Business Desk application) or a subset of site features onto one or more computers. You can run Site Packager from the Start menu, from Commerce Server Manager, or from the command line. Perform the following procedures to unpack a Blank, Retail, or SupplierActiveDirectory Commerce Server Solution Site.

For information about using the International Retail Site (Retail2002), see "Deploying the International Retail Site (Retail2002)" in Commerce Server 2002 Help.

The following instructions explain how to install a Solution Site on one computer using the Quick mode of Site Packager. Before you unpack a Solution Site, note the following:

To unpack a Solution Site

  1. Click Start, point to Programs, point to Microsoft Commerce Server 2002, and then click Solution Sites.

  2. In the PuP Packages folder, double-click a Solutions Site.

    Commerce Server Site Packager starts.

  3. In the Unpack screen, select Quick unpack, and then click Next. This option installs the site and associated databases on the local computer.

  4. In the Quick Unpack dialog box, do the following:
    Use this To do this
    Site name Type a name for the site.
    IIS Web site Select the name of the Internet Information Services (IIS) 5.0 Web site where the applications will be installed.
    SQL Server Computer Type the name of the SQL Server on which you want the site databases to be created.
    Use Windows Integrated Security This option uses integrated Windows Authentication.

    When you use Windows Integrated Security, user names and passwords are not stored in the SQL Server connection string, and are not affected by SQL Server password resets. For information about Commerce Server 2002 security, see "Securing Your Site" in Commerce Server 2002 Help.

    Use a specific user name and password Check this option if you want to use SQL Server authentication when connecting to the databases.
    SQL Server Login Name Type a SQL Server login user name that has permissions on the SQL Server on which the site databases are to be created.

    Note   For security purposes, do not use the sa login for access to the databases. To change the login information for the Administration database after it is created, use SQL Server Enterprise Manager.

    SQL Server Login Password Type the SQL Server login password for the databases.

  5. Click Next.

  6. In the Data Warehouse dialog box, do the following:
    Use this To do this
    Name Type a name for the pointer to the global Data Warehouse resource.
    Server Type the name of the SQL Analysis Services computer that the Data Warehouse will use.
    Database Type the name of the Analysis Services database.

  7. Click OK.

  8. In the Profiling System dialog box, accept the default .xml files, and then click Next.

  9. In the next Profiling System dialog box, accept the default .xml files, accept the default connection string and schema definition scripts, and then click OK.

  10. In the Commerce Server Site Packager dialog box that provides guidelines on configuring permissions for your Commerce Server databases, click OK.

  11. In the Unpacking is complete dialog box, review the list of SQL Server databases and IIS applications that were created. To review the list of events in the Site Packager log file, click View Log File.

  12. To close Site Packager, click Finish.

    Important   After unpacking a site, the Csapp.ini file is generated, which is required by AuthManager. Do not delete this file. Secure the Csappi.ini file by turning off both read and anonymous access to it in IIS. Do not use NTFS permissions to secure this file, because the file must be readable under user credentials such as the IUSR account. For more information about the Csapp.ini file, see "Csapp.ini file" in Commerce Server 2002 Help.

  13. To prevent pages from timing out during failover, extend the ASP timeout period to 10 minutes. Click Start, point to Programs, point to Microsoft Commerce Server 2002, and then click Commerce Server Manager.

  14. In the Commerce Server Manager window, expand Internet Information Services, expand <computername>, right-click the site you unpacked, and then click Properties.

  15. In the Properties dialog box, on the Home Directory tab, in the Application Settings section, click Configuration.

  16. In the Application Configuration dialog box, on the App Options tab, in the ASP Script timeout period section, type 600.

  17. Click OK twice to save the setting.

To access Commerce Server Business Desk for the site, you must install the Business Desk client. For instructions, see Installing the Business Desk Client.

Removing Default Write Permissions for Business Desk

When you unpack a Solution Site (which includes Business Desk), or a new site that includes Business Desk, the site is unpacked with default write permissions on widgets. You must remove these default write permissions, leaving the read permissions.

To remove write permissions for the default site

  1. In Internet Services Manager, expand <server name>, and then expand Default Web Site.

  2. Right-click widgets, and then right-click Properties.

  3. In the widgets Properties dialog box, on the Virtual Directory tab, under Local Path, verify that the Write check box is cleared, and that the Read check box is selected. This is the default setting for Windows Server 2003 and Windows Server 2000.

Installing the International Retail Site (Retail2002)

The International Retail Site (Retail2002) is available in the \Program Files\Microsoft Commerce Server 2002\SDK\Samples\ASPNET\Retail2002\Retail2002.pup folder.

To use the International Retail Site, you create a new Commerce project using Microsoft® Visual Studio® .NET. If you want to base your Web applications on the International Retail Site and use Microsoft Visual Studio .NET for your development environment, use the Custom option to unpack the International Retail Site as a new Commerce Project using Visual Studio .NET. For more information about installing the International Retail Site, see ''Deploying the International Retail Site (Retail2002)'' in Commerce Server 2002 Help.

Note   To use Commerce Server 2002 .NET-based developer tools, such as the .NET Assemblies, install Microsoft Visual Studio .NET Release Candidate 3 or later, .NET Framework 1.0, and .NET Framework Service Pack 2 before installing Commerce Server 2002.

To deploy an ASP.NET-based site on a Web server, install .NET Framework 1.0. You can increase the performance of Web sites using the Commerce Server .NET Framework by changing the COM threading model for Microsoft® ActiveX® Data Objects (ADO) from apartment-threaded to both-threaded. To change ADO to both-threaded, run the makfre15.bat file located in Program Files\Common Files\System\ado.

Installing the Business Desk Client

After you unpack a site, you can install the Commerce Server Business Desk client by connecting to the URL for the Business Desk application. You must perform this step for all computers from which you want to access Business Desk, including the computer running Commerce Server.

Business managers can download and install the Business Desk client. Before you install the Business Desk client, note the following requirements:

To install the Business Desk client

To start Business Desk

To install the Business Desk client

  1. Click Start, point to Programs, and then click Internet Explorer.

  2. In Internet Explorer, in the Address box, type the URL for your installation of the Business Desk (for example, type http://<computername>/<sitename>Bizdesk), and then press ENTER.

  3. In the Browse for Folder dialog box, accept the default folder, or select another folder to store the HTML Application (HTA) file, and then click OK.

    The Business Desk Client Setup begins. The Business Desk Client requires Microsoft ActiveX controls. If the Microsoft ActiveX controls have not been downloaded, troubleshooting tips are displayed in the upper section of the Business Desk Client Setup screen.

    Note   If you are unable to download the ActiveX controls, follow the instructions on the Business Desk Client Setup screen.

  4. When you have completed the Business Desk installation, close Internet Explorer.

The Business Desk icon now appears as a shortcut on your desktop and on the Start menu.

To start Business Desk

Silent Installation

Commerce Server allows automated electronic software distribution or silent installation. Silent installation is designed to install Commerce Server in an automated way on computers that have identical configurations. It is designed for system administrators who want to install Commerce Server on remote computers without user intervention. With a silent installation, there is no need for a user to monitor the installation and provide input.

To perform a silent installation, use the command line options provided to suppress all interaction and provide parameters for all options.

When you perform a silent installation, no messages are displayed. Instead, a log file captures the installation information, including whether the installation was successful. You can then review the log file and determine the results of the installation.

Notes   Commerce Server 2002 does not allow silent installation for clustered resources.

Use Commerce Server Setup to remove specific features. You cannot remove features using silent installation. In addition, if you want to add or remove only the SDK, you must use Commerce Server Setup.

Before you install Commerce Server using silent installation, do the following:

To install Commerce Server using silent installation

  1. Insert the Commerce Server 2002 CD into the CD-ROM drive.

  2. To open the command prompt window, click Start, point to Programs, point to Accessories, and then click Command Prompt.

  3. To start the silent installation, at the command prompt, type:

    msiexec /I <package>.msi

    For example, to install Commerce Server from your CD, type:

    msiexec /I "<drive letter>:\Microsoft Commerce Server 2002.msi"

    where "Commerce Server 2002" is the name of the .msi package.

    The following table shows the Windows 2000 command line options that are useful for a Commerce Server silent installation.

    Option Parameters Description
    /I {package} Installs the product.
    /q {n|b|r|f} Sets user interface level.

    qn - No user interface.

    qb - Basic user interface.

    qr - Reduced user interface with a modal dialog box displayed at the end of the installation.

    qf - Full user interface with a modal dialog box displayed at the end of the installation.

    /L [i][w][e][a][r][u][c][m][p][v][*] Specifies the path to the log file. The following flags indicate which information to log:

    i - Status messages

    w - Nonfatal warnings

    e - All error messages

    a - Startup of actions

    r - Action-specific records

    u - User requests

    c - Initial user interface parameters

    m - Out-of-memory

    p - Terminal properties

    v – Verbose output

    * - All


    For more information about Windows 2000 command line options, see the Windows 2000 Server online documentation.

  4. To set the installation type, type INSTALLLEVEL=<type of installation> on the command line. Below are the three types of silent installations and their corresponding parameters:

    For example, to perform a Web Server installation, type INSTALLLEVEL=100.

  5. To specify the product ID, type PIDKEY=<25-character product identification number>.

  6. To specify the SQL Server computer name and login credentials for the Administration database, type the following commands:

    CS_ADMIN_SERVER = <SQL Server computer name>: Use this command if the SQL Server is remote
    CS_ADMIN_UID = <user ID>
    CS_ADMIN_PASSWORD = <password>

  7. To specify the SQL Server computer name and login credentials for the DirectMailer database, type the following commands:

    CS_DML_UID = <user ID>
    CS_DML_PASSWORD = <password>

  8. To use Windows Authentication for the Direct Mailer and Administration databases, type the following commands followed by "=1". The default is "=0" indicating Windows Integrated Security (authenticate to SQL Server):

    CS_DML_NTLM
    CS_ADMIN_NTLM

  9. To add any of the Commerce Server 2002 features to the installation, type the feature command followed by "=1". For example, to add the Predictor resource to your installation, type ADD_PREDICTOR=1.

    Following are the commands to add individual features:

    After initial installation, ADD can be replaced by DEL in any of the above entries to remove the corresponding feature.

    Notes   Removing parent features results in the children features being removed. For example, deleting the parent CORE feature removes its children features, such as PREDICTOR and DIRECT_MAILER.

    If you want to install only the runtime objects (ADD_RUNTIME_OBJECTS), you must also specify the parent ADD_CORE feature.

  10. To enter the user account and password for Predictor, Direct Mailer, List Manager, and the COM+ Identities, type:

    <resource abbreviation>_SERVICE_UID=<user ID>
    <resource abbreviation>_SERVICE_PWD=<password>
    <resource abbreviation>_SERVICE_DOM=<NT domain>

    where <resource abbreviation> is:

  11. To verify that the installation was successful, view the setup log file, which was specified after the /L command line option.

Sample Silent Installation Command

The following is a sample command for a silent Complete installation, which installs all of the services. To customize this sample for your own use, replace <XXX> with information specific for your installation:

echo off
echo [INFO] SetupTst Start
if not exist setuplogs mkdir setuplogs

REM -- Complete Install
set InstallMode=i
set DropLoc=\\<XXX>\Microsoft Commerce Server 2002.Msi
set InstallLevel=200
set SERVICE_UID=XXX>
set SERVICE_PWD=<XXX>
set SERVICE_DOM=<XXX>
set SQL_ADMIN_UID=<XXX>
set SQL_ADMIN_PWD=<XXX>
set SQL_DML_UID=<XXX>
set SQL_DML_PWD=<XXX>
set PIDKEY=<XXXXXXXXXXXXXXXXXXXXXXXX>

Caution   Do not cut and paste the following sample code. It contains breaks that may not work in your installation.

msiexec /%InstallMode% "%DropLoc%" /qb /l*v setuplogs\msiproduct.log 
INSTALLLEVEL=%InstallLevel% ALL_SERVICE_UID=%SERVICE_UID% 
ALL_SERVICE_PWD=%SERVICE_PWD% ALL_SERVICE_DOM=%SERVICE_DOM% 
CS_ADMIN_SERVER=%COMPUTERNAME% CS_DML_SERVER=%COMPUTERNAME% 
CS_ADMIN_UID=%SQL_ADMIN_UID% CS_ADMIN_PASSWORD="%SQL_ADMIN_PWD%" 
CS_DML_UID=%SQL_DML_UID% CS_DML_PASSWORD="%SQL_DML_PWD%" 
PIDKEY=%PIDKEY%

echo [INFO] SetupTst Done.

Administrative Installations

Commerce Server 2002 uses the Windows Installer for Setup. However, it does not support the Administrative Installation feature (/a command line parameter) of Installer.

As an alternative to using the Administrative Installation feature for Commerce Server 2002 Setup, you can copy the entire Commerce Server 2002 CD-ROM to a shared folder, using Windows Explorer. Then you can run Setup on remote computers. The installation files on the CD-ROM are not compressed and no additional procedures are required.

Installing Administration Tools

After you have installed Commerce Server 2002 on at least one computer, you can also set up an "administration-only" console on a separate computer. An administration-only computer includes only Commerce Server Manager, and it connects to the existing Administration database.

You may want to use an administration-only computer if:

To install Administration Tools

To enable administration through a proxy server or firewall

To install Administration Tools

  1. On the computer you have selected to be administration-only, run Commerce Server 2002 Setup, and then select Custom Installation.

    Note    Internet Information Services (IIS) must be installed on the computer you have selected to be administration-only.

  2. Verify that the Administration Tools option is selected for this installation, and clear all other options.

    Note    If you are installing the Administration Tools on a Japanese version of Windows XP, an error message may appear. You can safely skip this message to complete installation.

  3. In the Administration Database Configuration screen, do the following:
    Use this To do this
    SQL Server computer Type the name of the SQL Server on which you want to create the Administration database.
    SQL user name Type a SQL Server login user name that has permissions on the SQL Server on which the Administration database is to be created.
    SQL password Type the SQL Server login password.

  4. Click Next, and then click Install.

Commerce Server Manager is installed on your computer.

Note   If you use the administration-only computer to unpack a site that contains Data Warehouse resources, you must manually run the Configuration Synchronization Data Transformation Services (DTS) task from the Data Warehouse computer.

To enable administration through a proxy server or firewall

By default, SQL Server listens on port 1433. For instructions about changing the port number, see SQL Server Books Online.

Notes   Although you can use Commerce Server Manager through a proxy or firewall, you cannot use the Internet Services Manager feature of Microsoft Internet Information Services (IIS) 5.0 through a proxy or firewall. To add IIS administration capability to an administration-only computer located on the far side of a firewall, you can use the browser-based IIS or Microsoft Terminal Services.

For more information about using IIS, see the IIS 5.0 documentation. For information about using Microsoft Terminal Services, see "Client Services" in the Windows 2000 documentation.

Installing Commerce Server Documentation

You can install Commerce Server 2002 Help without installing the rest of the product.

To install Commerce Server 2002 Help only

  1. Insert the Commerce Server 2002 CD into the CD-ROM drive.

  2. Locate the Commerce_Server.chm file.

  3. Copy the file to your desktop.

Uninstalling Commerce Server 2002

To uninstall Commerce Server 2002 and all of its components, you must perform the following steps in the order shown. For instructions about uninstalling individual components, such as a site, resource, Web server, or application, see "Administering Commerce Server" in Commerce Server 2002 Help.

  1. Remove the Commerce Server 2002 Solution Sites. Perform this step to remove the Blank site, or other Solution Sites you may have downloaded from the Solution Sites for Commerce Server 2002 Web site at http://go.microsoft.com/FWLink/?LinkID=6767. This step removes the Solutions Sites from the Microsoft Commerce Server\PuP Packages folder so you cannot unpack these sites again. It does not remove the unpacked Solution Sites.

  2. Remove the Commerce Server 2002 platform. Perform this step to remove the Commerce Server runtime objects, Administration tools, Predictor resource, and Direct Mailer.

  3. Delete the Commerce Server 2002 installation folder.

  4. Delete the Commerce Server 2002 databases. Perform this step to delete the DirectMailer database, the Administration database, the Commerce database, and the Data Warehouse.

  5. Delete the Commerce Server 2002 Analysis server databases.

  6. Delete the Commerce Server 2002 site virtual directories. Perform this step only if you have unpacked a site.

  7. Delete the ISAPI filter (CSAuthFilter) from IIS. Perform this step only if you have set Autocookie or changed the Authentication Filter setting on a Commerce Server application from the default set by the Solution Site packages.

  8. Delete the Commerce Server 2002 site folders and files. Perform this step only if you have unpacked a site.

  9. Delete the direct mail jobs in SQL Server. Perform this step only if you installed Direct Mailer and created Direct Mailer jobs. If you do not perform this step and you re-install Direct Mailer at a later date, the old direct mail jobs will be enabled.

After performing these steps, it is recommended that you restart your computer.

The following procedures provide detailed instructions for performing each of these steps.

Step 1: Remove the Commerce Server Solution Sites

Step 2: Remove the Commerce Server 2002 platform

Step 3: Delete the Commerce Server 2002 installation folder

Step 4: Delete the Commerce Server 2002 databases

Step 5: Delete the Commerce Server 2002 Analysis server databases

Step 6: Delete the Commerce Server 2002 site virtual directories

Step 7: Delete the ISAPI filter (CSAuthFilter) from IIS

Step 8: Delete the Commerce Server 2002 site folders and files

Step 9: Delete the Direct Mailer jobs in SQL Server

Step 1: Remove the Commerce Server Solution Sites

  1. Click Start, point to Settings, and then click Control Panel.

  2. In the Control Panel window, double-click Add/Remove Programs.

  3. In the Add/Remove Programs dialog box, click Commerce Server Solution Sites Remove.

Step 2: Remove the Commerce Server 2002 platform

  1. Click Start, point to Settings, and then click Control Panel.

  2. In the Control Panel window, double-click Add/Remove Programs.

  3. In the Add/Remove Programs dialog box, click Commerce Server 2002 and then click Remove.

  4. In the Add/Remove Programs dialog box, click Yes to confirm that you want to remove Commerce Server 2002.

  5. If you are prompted to restart your computer, in the Commerce Server 2002 dialog box click Yes.

Step 3: Delete the Commerce Server 2002 installation folder

  1. Using Windows Explorer, navigate to the folder where Commerce Server 2002 is installed (for example, C:\Program Files\Microsoft Commerce Server 2002).

  2. Right-click the folder you want to delete, and then click Delete.

  3. In the Confirm Folder Delete dialog box, click Yes to confirm the deletion.

Step 4: Delete the Commerce Server 2002 databases

  1. Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.

    Note   In SQL Server Enterprise Manager, make sure that SQL Server is running (the icon in the Enterprise Manager window displays a green light). If it is not running, right-click the name of the SQL Server computer, and then click Start.

  2. Expand the nodes to the following path: \Microsoft SQL Servers\SQL Server Group\SQL Server Name\Databases.

  3. Right-click the database you want to delete, and then click Delete.

  4. Repeat this step for each database you want to delete.

Step 5: Delete the Commerce Server 2002 Analysis server databases

  1. Click Start, point to Programs, point to Microsoft SQL Server, point to Analysis Services, and then click Analysis Manager.

  2. Expand the nodes to the following path: \Analysis Servers\SQL Server Name.

  3. Right-click the database you want to delete, and then click Delete.

  4. In the Confirm Database Delete dialog box, click Yes to confirm the deletion.

  5. Repeat Steps 3 and 4 for each database you want to delete.

Step 6: Delete the Commerce Server 2002 site virtual directories

  1. Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.

  2. Expand the nodes to the following path: \<computer name>\<IIS Web site name>.

  3. Right-click the virtual directories you want to delete (for example, Retail or Supplier), and then click Delete.

  4. In the Internet Services Manager dialog box, click Yes to confirm the deletion.

  5. Repeat Steps 3 and 4 for each virtual directory you want to delete.

Step 7: Delete the ISAPI filter (CSAuthFilter) from IIS

  1. Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.

  2. Expand the nodes to the following path: \<computer name>\<IIS Web site name> (for example, CSServer1\Default Web Site).

  3. Right-click the IIS Web site, and then click Properties.

  4. In the Default Web Site Properties dialog box, in the ISAPI Filters tab, select CSAuthFilter, and then click Remove.

Step 8: Delete the Commerce Server 2002 site folders and files

  1. Using Windows Explorer navigate to the directory where the site files were installed (for example, C:\Inetpub\wwwroot).

  2. Right-click the folder you want to delete, and then click Delete.

  3. In the Confirm Folder Delete dialog box, click Yes to confirm the deletion.

  4. Repeat Steps 2 and 3 for each folder you want to delete.

Step 9: Delete the Direct Mailer jobs in SQL Server

  1. Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.

  2. Expand the nodes to the following path: \Microsoft SQL Servers\SQL Server Group\SQL Server Name\Management\SQL Server Agent\Jobs.

  3. The Direct Mailer jobs appear in the right pane of the SQL Server Enterprise Manager.

  4. Select the Direct Mailer job(s) you want to delete, and then click the Delete on the toolbar.

  5. In the Delete Job dialog box, click Yes to confirm the deletion.

After uninstalling Commerce Server 2002, it is recommended that you restart your computer.

Uninstalling the Business Desk Client

To uninstall the Commerce Server Business Desk client

  1. Click Start, point to Settings, and then click Control Panel.

  2. In the Control Panel window, double-click Add/Remove Programs.

  3. In the Add/Remove Programs dialog box, select Commerce Server 2002 Business Desk <application name>, and then click Change/Remove.

The Business Desk client is now removed from your computer.

Troubleshooting Your Commerce Server 2002 Installation

When you install Commerce Server, the Windows Installer creates a log file called CS2ksetup.log. If you are familiar with Windows Installer, you can read the log file and see if any errors occurred during the installation process. The log file is located in Documents and Settings\<username>\Local Settings\Temp, where username is the account you used to install Commerce Server.

For more information about Windows Installer see http://go.microsoft.com/fwlink/?LinkID=14451.

This section describes problems you might encounter while installing or uninstalling Commerce Server 2002 and offers possible solutions. Possible problems include the following:

For troubleshooting information about packaging and unpacking a Commerce Server 2002 Solution Site, see "Troubleshooting Site Packager" in Commerce Server 2002 Help.

Error message appears in the CS2Ksetup.log file

After you install Commerce Server, you may notice the following error message in the CS2Ksetup.log file:

“DEBUG: Error 2835:  The control ErrorIcon was not found on dialog SetupError
Internal Error 2835. ErrorIcon, SetupError
You must restart your system for the configuration changes made to Microsoft Commerce Server 2002 Enterprise Edition to take effect. Click Yes to restart now or No if you plan to manually restart later.”

Solution

This is a benign error message that you can safely ignore. You do not need to restart Commerce Server.

Internet Explorer Security patch may cause a Commerce Server Business Desk application error

The recent security patch, “Unchecked Buffer in Gopher Protocol Handle” (at http://go.microsoft.com/FWLink/?LinkID=13085) for Microsoft Internet Explorer may cause a Commerce Server Business Desk application error.

For more information, see the Microsoft Knowledge Base article number Q328780 "MS02-047 causes Commerce Server Business Desk application error," at http://go.microsoft.com/FWLink/?LinkID=9693.

Applications do not work after installing Visual Studio 6.0 Service Pack 4

After you install Microsoft Visual Studio 6.0 Service Pack 4, you cannot access Business Desk or your applications. You may get the following message: "An error occurred while creating object g_MSCSAdminEventLog."

Solution

After you install Visual Studio 6.0 Service Pack 4, change the permissions on the \winnt\system32\msvbvm60.dll file to "Everyone."

Mscsresource.DLL not found

After installing Commerce Server 2002, the following message appears: "The dynamic-link library Mscsresource.DLL could not be found in the specified path."

Solution

Restart your computer.

Msmdarch.exe not found

When running the Commerce Server 2002 Setup, you receive the error that the system cannot locate the Msmdarch.exe program on the server