Creating a Commerce Project

You use the Project Creation Wizard in Microsoft Visual Studio .NET to create Commerce Server applications. Using Commerce Projects in the Project Creation Wizard, you can create a new Microsoft Visual Basic .NET- or Microsoft Visual C#-based Commerce Server application.

Using the Project Creation Wizard, you can migrate your existing Commerce Server site to Visual Basic .NET or C# to use .NET-based Commerce Server features.

The following table lists and describes Commerce Project options to create a Commerce Server Project in the Project Creation Wizard.

Use this To do this
Commerce C# ASP.NET Web Application Create a new C# application for Commerce Server.
Commerce VB ASP.NET Web Application Create a new Visual Basic .NET application for Commerce Server.
New Commerce C# Project In Existing Folder Map files that are not .NET-based to an existing C# Commerce Server application. This will automatically add references to your site and copy files to your site folder.
New Commerce VB Project In Existing Folder Map files that are not .NET-based to an existing Visual Basic .NET Commerce Server application. This will automatically add references to your site and copy files to your site folder.
Commerce Custom ASP.NET Web Application Create a custom site based upon an existing Commerce Server Site package. You will have an option to select what Commerce Server resources are installed.

Ee825988.note(en-US,CS.20).gifNotes

  • To use this option, the Commerce Server custom site package must be built specifically for the Project Creation Wizard.
  • If you receive an error about not being able to connect to a remote site when unpacking a site from a remote computer, enter the full Universal Naming Convention (UNC) path. For example, \\<Server Name>\<drive>$\inetpub\wwwroot\<Site Name>\.

Ee825988.note(en-US,CS.20).gifNotes

  • The Project Creation Wizard does not support Csharp or VB Commerce Server Site packages that might be present in the PuP Packages folder.
  • Multiple Business Desk applications in a single Commerce Server Site package are not supported.

To create a new Visual Basic .NET or C# Commerce Server application

To enable a Commerce Server project to an existing Commerce Server site

To create a new Visual Basic .NET or C# Commerce Server application

  1. Click Start, point to Programs, point to Microsoft Visual Studio .NET, and then click Microsoft Visual Studio .NET.

  2. On the File menu, point to New, and then click Project.

  3. In the New Project dialog box, do the following:

    Use this To do this
    Project Types Select Commerce Projects.
    Templates From the list, select Commerce C# ASP.NET Web Application to create a new C# Commerce Server application, or select Commerce VB ASP.NET Web Application to create a new Visual Basic .NET Commerce Server application.
    Location Type the complete path or click Browse to specify where to store the project.
  4. To create the project, click OK.

    The Commerce Application Project Wizard starts.

  5. In the Commerce Application Project Wizard Welcome dialog box, click Next.

  6. 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 CommerceWebApp1.
    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.

    Ee825988.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.
  7. Click Next.

  8. 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.
  9. Click OK.

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

  11. 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.

A new C# or Visual Basic .NET Commerce Server project is created.

To enable a Commerce Server project to an existing Commerce Server site

  1. Click Start, point to Programs, point to Microsoft Visual Studio .NET, and then click Microsoft Visual Studio .NET.
  2. On the File menu, point to New, and then click Project.
  3. In the New Project dialog box, do the following:
    Use this To do this
    Project Types Select Commerce Projects.
    Templates From the list, select New Commerce C# Project in Existing Site or select New Commerce VB Project In Existing Folder.
    Name Type the name for the existing Commerce Server site.
  4. Click OK.
  5. In the Open dialog box, navigate to your existing Commerce Server site folder, select the Commerce Server Application ini file (csapp.ini), and then click Open.

A new Commerce Server project is created in Visual Studio .NET with all the current site files added to the project.

See Also

Using the Developer Portal

Enabling Commerce Server in an Existing Web Project

Creating a Commerce Server Package for the Project Creation Wizard

Removing Commerce Server from your Web Project

Copyright © 2005 Microsoft Corporation.
All rights reserved.