HOW TO: Isolate Web Applications into Their Own Process (326086)
The information in this article applies to:
- Microsoft Internet Information Server 4.0
- Microsoft Internet Information Server 5.0
- Microsoft Internet Information Services version 5.1
This article was previously published under Q326086 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: SUMMARY
This step-by-step article describes how to isolate applications in Internet Information Server (IIS) 4.0 and Internet Information Services (IIS) versions 5.0 and later in their own respective processes.
In this article, all isolation steps are performed at the Web site level instead of at the virtual directory level. If an application must be isolated at the virtual directory level, follow the same steps, but use the Virtual Directory tab instead of the Home Directory tab.
back to the topIIS 4.0- Click Start, point to Program Files, click Windows NT 4.0 Option Pack, click Microsoft Internet Information Server, and then click Internet Service Manager.
- In the Internet Service Manager (ISM), right-click the Web site that you want to isolate, and then click Properties.
- In the Web site Properties dialog box, click the Home Directory tab.
- On the Home Directory tab, click to select the Run in separate memory space check box.
- Click OK.
Note Because the IIS services are already running and the site is currently in the Inetinfo (Inetinfo.exe) process, you must restart the IIS services. You do not have to do this right away. To do this, follow these steps:- Click Start, click Run, type cmd, and then click Run.
- At the command prompt, type net stop iisadmin /y.
- When the services have stopped, type the following to restart each individual service that is installed:
- WWW: net start w3svc
- File Transfer Protocol (FTP): net start msftpsvc
- Simple Mail Transfer Protocol (SMTP): net start smtpsvc
- Network News Transfer Protocol (NNTP): net start nntpsvc
back to the topIIS 5.0- Click Start, point to Program Files, point to Administrative Tools, and then click Internet Services Manager.
- In the ISM, right-click the Web site that you want to isolate, and then click Properties.
- In the Web site Properties dialog box, click the Home Directory tab.
- Under Application Settings, click High (Isolated) in the Application Protection drop-down list.
- Click OK.
Note You do not have to restart IIS services for this change to take effect. The Web server will finish processing any current requests for the application before creating a separate process. At the next request for the application, it will run in a separate memory space. back to the topIIS 5.1- Click Start, click Control Panel, point to Administrative Tools, and then click Internet Information Services.
- In the Internet Information Services Manager (ISM), right-click the Web site that you want to isolate in its own process, and then click Properties.
- In the Web site properties, click the Home Directory tab.
- Under Application Settings, click High (Isolated) in the Application Protection drop-down list.
- Click OK.
Note You do not have to restart IIS services for this change to take effect. The Web server will finish processing any current requests for the application before creating a separate process. At the next request for the application, it will run in a separate memory space. back to the topREFERENCES
For more information about the advantages and disadvantages of using the built-in isolating features of IIS, visit the following Microsoft Web site:
For the Microsoft PowerPoint presentation only, visit the following Microsoft Web site: For additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
279729 Web Pages Not Serving from IIS
297989 PRB: Configured Identity Is Incorrect for IWAM Account
180677 New Features in Internet Information Server (IIS) Version 4.0
294774 MS01-044: IIS Loads ISAPI Extension In-Process Even When Application Is Marked for High Isolation
290884 HOWTO: Determine Which Application Is Running Within a COM+ or Transaction Server Package
back to the top
Modification Type: | Minor | Last Reviewed: | 6/22/2005 |
---|
Keywords: | kbhowto kbHOWTOmaster KB326086 |
---|
|