Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Enable Retail and Business Desk applications to run at the root of separate Web sites


View products that this article applies to.

Summary

When you unpackage a Commerce Server 2000 site package, by default it is not possible to unpackage the applications to the root of separate Web sites. It is, however, possible to move the applications to the root of separate Web sites after the sites are unpackaged. This article demonstrates how to do this.

↑ Back to the top


More information

This article uses Retail.pup.

Before you continue, create two new Web sites on the server on which you want to unpackage the Retail Site. For information about creating Web sites, see the Internet Information Services (IIS) documentation.

To unpackage the Retail Site with separate Web sites for the Retail and RetailBizDesk applications, follow these steps:
  1. Select the Retail Site that you want to unpackage. To do this, click Start, click Programs, click Microsoft Commerce Server, and then click Solution Sites.
  2. Select Custom unpack. and then click Next.
  3. Select Create a new site, and then click Next.
  4. Type the site name, and then click Next.
  5. Select the resources that you want to unpack, and then click Next.
  6. Assign global resource pointers, and then click Next.
  7. Configure database connection strings, and then click Next.
  8. Select the applications that you want to unpackage. Make sure that both applications are selected. Click Next.
  9. At this point, you can unpack both sites to their own virtual folders on separate Web sites, or you can unpack one site to the root and one site to a virtual folder. This example unpacks each application to its own virtual folder. Make sure that you set the Web site for each application so that each is on its own Web site. Click Next to start the unpackaging process.
After the site is unpackaged, do the following:
  1. Move the site files to the root folder for the Web site.
  2. Locate the Csapp.ini file in the root of each folder, and then change the following keys as follows:
    RelativeURL=/ 
    AddressKeyName="<ApplicationName>"
    					
    Note <ApplicationName> is the application name for the application in the Commerce site. You can query the application name from the MSCS_Admin database by using the following query:
    select Resources.s_DisplayName as ApplicationName, Resourceprops.s_Value as non_SecurHostName from Resources, ResourceProps where Resources.s_Type = 'Address' and ResourceProps.s_PropertyName = 's_NonSecureHostName' and Resources.i_ResourceId = ResourceProps.i_ResourceId and Resources.i_ResourceId in (select i_ResourceID from SiteResources where i_SiteId= (select i_SiteId from Sites where s_Name='MyCommerceSiteName')) 
  3. Make changes to each application in the Commerce Server Microsoft Management Console (MMC) as follows:
    1. Start the Commerce Server Manager.
    2. Expand Commerce Server Manager, expand Commerce Sites, expand Retail, expand Applications, and then click Applications.
    3. Right-click SERVER/retail, and then click Properties.
    4. On the General tab, clear the IIS application path text box, and then click OK.
    5. Right-click SERVER/retailbizdesk and click Properties.
    6. On the General tab, clear the IIS application path text box, and then click OK.
    7. Run iisreset so that the changes take effect.

↑ Back to the top


Keywords: KB275299, kbinfo

↑ Back to the top

Article Info
Article ID : 275299
Revision : 6
Created on : 7/20/2005
Published on : 7/20/2005
Exists online : False
Views : 463