Enabling Commerce Server in an Existing Web Project

You can enable Commerce Server functionality in an existing non-Commerce Server Web service, Visual Basic .NET, C#, or an empty Web project.

After you enable Commerce Server in your existing project, the Commerce Server Site adds Commerce Server resources, sites, and the Business Desk application. The Project Creation Wizard also modifies your existing project file to incorporate Commerce Server-specific configuration settings and Commerce Server assembly references. These configuration settings are in the application level web.config file. The httpModules element and a Commerce Server node are also added to your existing project.

To enable Commerce Server in an existing Web project

  1. Open a non-Commerce Server project in Visual Studio .NET.
  2. On the toolbar, click Project, point to Commerce Server Project, and then click Enable Commerce Server. The Commerce Server Project Wizard starts.
  3. In the Commerce Application Project Wizard Welcome dialog box, click Next.
  4. In the Commerce Server Site Packager Quick Unpack dialog box, do the following:
    Use this To do this
    Site name Type a name for the site, or retain the name of your existing project.
    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 computer on which you want the site databases to be created.
    Use Windows Integrated Security Select this option if you want to use Windows integrated security.

    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.

    Use a specific user name and password Select 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 computer on which the site databases are to be created.

    Ee784632.note(en-US,CS.20).gifNote

    • 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 the name you want to give to 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.

Commerce Server is now enabled in your existing Web project.

See Also

Creating a Commerce Project

Copyright © 2005 Microsoft Corporation.
All rights reserved.