Creating Application Pools in IIS 7+
The Application Pool is a method of isolating different .NET applications within the web server, in order to provide improved reliability. The default application pool, "DefaultAppPool" is created at installation and all virtual directory applications, when created, are assigned to this default pool.
However, applications using different .NET versions can't be run at the same time in the same pool. If they are, error messages will appear for whichever application is started last. The recommended practice is to create a new application pool and assign all applications that use the same .NET version to it.
To create a new application pool:
- Open the IIS Manager (see All ProgramsAdministrative Tools )
- Select and right-click the Applications Pools item in the list on the left. Select Add Application Pool... from the pop-up menu.
- Enter the new name of your choice as the Application Pool ID and leave the default pool settings selected. Click OK
- Right-click the Application Pools item in the list on the left and click Refresh to see your new pool.
To assign an application to the new Application Pool:
- Expand the Sites item in the list on the left, then expand the Default Web Site item below it.
- Find and select your application in the list.
- In the right-hand Actions Panel, click Basic Settings...
- A dialog box like the one shown above will appear. Click Select... and choose your new Application Pool from the list.
- Click OK.
Your application is now assigned to your new Application Pool.