Determining Application Compatibility with Worker Process Isolation Mode
Updated: August 22, 2005
Applies To: Windows Server 2003, Windows Server 2003 with SP1
IIS 6.0 can run in one of two distinct modes of operation, which are called application isolation modes. Application isolation is the separation of applications by process boundaries that prevent the applications from affecting one another, and it is configured differently for each of the two IIS application isolation modes: IIS 5.0 isolation mode and worker process isolation mode.
Worker process isolation mode uses the redesigned architecture for IIS 6.0. This application isolation mode runs all application code in an isolated environment. However, unlike earlier versions of IIS, IIS 6.0 provides isolation without a performance penalty because fewer processor instructions are run when switching from one application pool to another. Worker process isolation mode is compatible with most existing Web sites and applications. Whenever possible, run IIS 6.0 in worker process isolation mode benefit from the enhanced performance and security in IIS 6.0.
IIS 5.0 isolation mode provides compatibility for applications that depend upon the process behavior and memory model of IIS 5.0. Run IIS in this mode only when a Web site or application cannot run in worker process isolation mode, and run it only until the compatibility issues are resolved.
|IIS 6.0 cannot run both application isolation modes simultaneously on the same server. Therefore, on a single server running IIS 6.0, you cannot run some Web applications in worker process isolation mode and others in IIS 5.0 isolation mode. If you have applications that require separate modes, you must run them on separate servers.|
After you perform an upgrade of the operating system, IIS is configured to run in IIS 5.0 isolation mode by default. Before configuring IIS 6.0 to run in worker process isolation mode, you should evaluate whether your Web sites and applications are compatible with worker process isolation mode. Most of the compatibility issues with IIS 6.0 occur when configuring IIS 6.0 to run in worker process isolation mode.
One of the most common reasons for incompatibility with worker process isolation mode is that applications do not recognize custom ISAPI extensions or DLLs that depend on the memory and request processing models used by earlier versions of IIS. Determine application compatibility in your lab before upgrading your existing IIS server, and if you determine that your applications are not compatible with worker process isolation mode, you can run the applications in IIS 5.0 isolation mode.
|Identifying a complete list of potential incompatibilities that applications can experience with worker process isolation mode is beyond the scope of this topic. Even after following the guidelines in this section, you need to verify in a lab whether your Web sites and applications are compatible with worker process isolation mode.|
Determine the compatibility of an application with worker process isolation mode by completing the following steps:
Evaluate the benefits of moving to worker process isolation mode.
Evaluate the application changes that are required so that the applications can run in worker process isolation mode.
Evaluate the management and provisioning script changes that are required to set up programs and provisioning scripts in worker process isolation mode.
Verify the compatibility of the application with worker process isolation mode in a lab.