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 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
- When you make changes to the CS Authentication resource, which is a global resource, however, you must restart IIS. For instructions, see Restarting IIS and Commerce Server Services.
- In the Internet Information Services snap-in, select the root of the IIS Web site, or the starting point directory of the application.
- Right-click the directory (for example, Default Web Site), click Properties, and then click the Home Directory tab.
- If the Unload button is not available, you are not in the starting point directory for the application or the application is already unloaded.
- 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?"
- 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 AlsoCopyright © 2005 Microsoft Corporation.
All rights reserved.