Swap Web applications as follows:
If a Web application is an isolated process or pool
Terminate the process of the Web application before swapping it with another Web application.
To terminate the process of the Web application, use Internet Service Manager to open [Property] of a virtual directory to which a Web application belongs and press the [Unload] button. When you terminate the process of the Web application, the Web application must be running until the process is terminated. If you cannot terminate the process of the Web application this way, do as shown in the section, "If a Web application is an IIS process".
If a Web application is an IIS process
Stop IIS before swapping Web applications and then restart IIS.
Since IIS does not completely stop using Internet Service Manager, open the services to stop all IIS services (IIS Admin Service and the services dependent on it). When you stop IIS, the Web application must be running until the process is terminated.
To start IIS, either use Internet Service Manager or open the services and start all IIS services (IIS Admin Service and the services dependent on it).