Microsoft KB Archive/275299

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

Article ID: 275299

Article Last Modified on 7/20/2005

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition
 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q275299



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.



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:  Move the site files to the root folder for the Web site.  Locate the Csapp.ini file in the root of each folder, and then change the following keys as follows: RelativeURL=/ AddressKeyName=&quot;&quot; Note  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'))  Make changes to each application in the Commerce Server Microsoft Management Console (MMC) as follows:  Start the Commerce Server Manager. Expand Commerce Server Manager, expand Commerce Sites, expand Retail, expand Applications, and then click Applications. Right-click SERVER/retail, and then click Properties.</li> On the General tab, clear the IIS application path text box, and then click OK.</li> Right-click SERVER/retailbizdesk and click Properties.</li> On the General tab, clear the IIS application path text box, and then click OK.</li> Run iisreset so that the changes take effect.</li></ol> </li></ol>

Additional query words: cs2k com2k

Keywords: kbinfo KB275299

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.