Unloading an Application from Memory

Commerce Server 2002

In Commerce Server, each site is an application under Internet Information Services (IIS) 5.0. After you change the value of a property in Commerce Server Manager, you must unload the IIS applications from memory on each Web server in order for the change to take effect. The caches created by the Commerce Server global.asa file are released; when the next user visits your site, the resource properties are read again and loaded into the cache.

Unloading an application from memory is different from restarting IIS or using the IISReset command. Restarting IIS unloads all Web applications from memory, restarts the IIS service and refreshes the cache. However, the advantage of unloading an application from memory, using the procedure below, is that property changes take effect without stopping all applications on your Web server. However, certain configuration changes require that you restart the IIS service, or other services. For more information, see Restarting IIS and Commerce Server Services.

You must unload an application from memory when you perform any of the following tasks:

  • Configure a global resource
  • Configure a site resource
  • Configure App Default Config
  • Configure an application
  • Set up a domain name

Ee810044.important(en-US,CS.20).gif Important

To unload an application from memory

  1. In the Internet Information Services snap-in, select the root of the IIS Web site, or the starting point directory of the application.
  2. Right-click the directory (for example, Default Web Site), click Properties, and then click the Home Directory tab.

    Ee810044.note(en-US,CS.20).gif Note

    • If the Unload button is not available, you are not in the starting point directory for the application or the application is already unloaded.
  3. Click Unload.

    The following message may appear: "Unloading this application will unload all applications in the application pool. Are you sure you want to continue?"

  4. Click Yes if the message appears.

The application is unloaded from memory. The next time a user visits your Web site, the new property values are read when the application is loaded into memory.

See Also

Restarting IIS and Commerce Server Services

Configuring a Global Resource

Configuring a Site Resource

Configuring the App Default Config Resource

Configuring an Application

Specifying the Domain Name

Copyright © 2005 Microsoft Corporation.
All rights reserved.