Export (0) Print
Expand All

Restarting IIS and Commerce Server Services

Commerce Server 2002

When you make changes to the properties used by the CS Authentication resource, you must stop and then restart Internet Information Services (IIS) 5.0. Likewise, when you use Commerce Server Manager to make changes to Commerce Server global resources, you must restart the effected CS Service.

This topic contains:

Restarting IIS

When you make changes to the properties used by the CS Authentication resource, you must stop and then restart IIS. Restarting IIS unloads all Web applications from memory, restarts the IIS service and refreshes the cache. Therefore, when restarting IIS, it is not necessary to also unload an application from memory.

You must restart IIS when you perform any of the following tasks in the CS Authentication resource:

  • Configure CS Authentication resource properties
  • Enable cookie sharing across domains/applications
  • Enable AuthFilter
  • Disable AuthFilter

This topic describes two ways to restart IIS:

  • Restart IIS using IISReset. This is the easiest way to restart IIS, because this command also restarts dependent services such as file transfer protocol publishing service (FTP), network news transport protocol (NNTP), and simple mail transport protocol (SMTP). However the IISReset command does not work in all circumstances; see the note below.
  • Restart IIS using the net stop and net start commands. This procedure works in all circumstances. However, you are required to perform more steps such as restarting dependent services as separate steps.

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

  • Under certain conditions, the IISReset command does not stop and then start Inetinfo.exe (W3SVC service). For example, if the W3SVC service has been configured for manual start instead of automatic, it will not be restarted. In this case you should use the procedure described in To restart IIS using Net Stop and Net Start.

To restart IIS using IISReset

  1. Click Start, and then click Run.
  2. In the Run dialog box, in the Open box, type IISReset and then click OK.

    A command prompt window opens displaying the status of the IISReset command.

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

    • It is recommended that you read the status in the command prompt window to ensure that IIS stops and restarts. If IIS fails to stop using this command, then use the procedure described in To restart IIS using Net Stop and Net Start.

For more information about the IISReset command, type IISReset /? at the command prompt.

To restart IIS using Net Stop and Net Start

  1. Click Start, and then click Run.
  2. In the Run dialog box, in the Open box, type net stop iisadmin and then click OK.

    A command prompt window opens displaying the following message:

    The following services are dependant on the IIS Admin Service service, also referred to as IISADMIN. Stopping the IIS Admin Service service will also stop these services.

    Ee809914.note(en-US,CS.20).gif Notes

    • The list of services that are displayed in the command prompt window vary depending on which services are installed on the computer running IIS.
    • You must restart each of the dependent services listed in the command prompt window as stated in step 6.
  3. At the prompt, "Do you want to continue this operation?" type Y, and then press [Enter].

    IIS stops. Note that both the iisadmin and w3svc services are stopped using the command from step 2 above.

  4. Click Start, and then click Run.
  5. In the Open box, type net start w3svc, and then click OK.

    IIS starts. Note that both the iisadmin and w3svc services are restarted.

  6. Repeat steps 4 and 5 to restart each dependent service that you noted in step 2.

The following table lists the most common services that are dependent on the iisadmin service.

Dependent ServiceHow to start
File transfer protocol publishing service (FTP)Type net start msftpsvc.
Network news transport protocol (NNTP)Type net start nntpsvc.
Simple mail transport protocol (SMTP)Type net start smtpsvc.

Restarting CS Services

When you use Commerce Server Manager to make changes to Commerce Server global resources, you must restart the effected CS Service. For example, if you change a Commerce Server Predictor property, then you must restart the PredictorService service.

Friendly Name of the ServiceService Name
Commerce Server PredictorPredictorService
Commerce Server Direct MailerDMLService
Commerce Server List ManagerListManager

To apply the changes that affect these services to your site, you must restart the affected service.

To stop and restart the Predictor, Direct Mailer, or List Manager service

  1. Click Start, and then click Run.
  2. In the Run dialog box, in the Open box, type net stop <service name>

    where <service name> is the name of the Commerce Server service, and then click OK.

    The Commerce Server service stops.

  3. Click Start, and then click Run.
  4. In the Run dialog box, in the Open box, type net start <service name> where <service name> is the name of the Commerce Server service, and then click OK.

    The Commerce Server service starts.

See Also

Unloading an Application from Memory

Configuring the CS Authentication Resource

Cookie Sharing

Enabling AuthFilter for the Retail Solution Site

Enabling AuthFilter for the Supplier Solution Site

Disabling AuthFilter

Copyright © 2005 Microsoft Corporation.
All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft