Unloading an Application from Memory

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 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. You can unload an application without stopping the Web server.

You must unload an application from memory after performing any of the following tasks:

  • Configure a global resource

  • Configure a site resource

  • Configure App Default Config

  • Configure an applicaton

  • Rename an application

When you make changes to the CS Authentication resource, however, you must restart IIS. For instructions, seeĀ Restarting IIS.

To unload an application from memory

  1. In 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.

Ee799512.note(en-US,CS.10).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.
  1. 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?"

  2. Click Yes if the message was displayed.

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

Configuring a Global Resource

Configuring a Site Resource

Configuring App Default Config Resrouce Properties

Configuring an Application

Renaming an Application


All rights reserved.