Configuring the .NET Framework for IIS 6.0

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The configuration method for the .NET Framework is determined by the application isolation mode that you use to configure IIS 6.0. Table 6.4 lists the methods for configuring the .NET Framework that are associated with each IIS 6.0 application isolation mode.

Table 6.4 Methods for Configuring the .NET Framework

Application Isolation Mode Configuration Method for the .NET Framework

IIS 5.0 isolation mode

Configured by making changes to the Machine.config file in the %systemroot%\Microsoft.NET\Framework\VersionNumber\Config folder.

Worker process isolation mode

Configured by making changes to the IIS 6.0 metabase.

When IIS 6.0 is configured to run in IIS 5.0 isolation mode, the .NET Framework uses the <processModel> section of the Machine.config file (in the %systemroot%\Microsoft.NET\Framework\versionNumber\Config folder) for its configuration and no additional steps are required.

However, if you configured IIS 6.0 to run in worker process isolation mode, the .NET Framework ignores the <processModel> section of the Machine.config file, and instead gets its process configuration from the IIS 6.0 metabase. Because the migration process does not migrate the existing settings in the Machine.config file, you must manually convert any settings required by the ASP.NET applications.

For information about how to convert the Machine.config attribute settings to IIS 6.0 metabase property settings, see Migrating Machine.config Attributes to IIS 6.0 Metabase Property Settings later in this section. For more information about configuring IIS 6.0 for ASP.NET applications, see Deploying ASP.NET Applications in IIS 6.0.