Application Pools

This help file applies to an out-of-date version of MainBoss.
The most recent version of MainBoss is MainBoss 4.2.3.
For the latest version of this help file can be found here.

< Previous section  |  Table of Contents  |  Index  |  Next section >

Roughly speaking, an application pool consists of one or more web applications that share processing time together as a single process. You must decide whether to put MainBossRemote into an existing application pool or to create a new pool that only contains MainBossRemote. The following considerations apply:

Perhaps the ideal is to put MainBossRemote into an existing pool whose other members only have a modest amount of traffic.

.NET VERSION: When you create an application pool, you specify which .NET version it uses. All applications within the pool must use the same .NET version. Thus, you must put MainBossRemote into a pool that uses .NET 4 (specifically .NET Framework v4.0.30319). Your site may have other ASP.NET applications which use different versions of .NET (e.g. .NET framework v2.0.50727); you cannot put MainBossRemote into such a pool. Furthermore, you should not change the .NET version of any existing pools, since any applications within those pools will stop working.

Application Pool Identity: Each application pool must have an identity. This corresponds to a login name that will be used to run all the applications in the application pool. The login name must have sufficient permissions to run all the applications in the pool. In particular, the identity login name for the pool that contains MainBossRemote must have all the permissions required by MainBoss.

Due to a problem in SQL Server, the pool containing MainBossRemote must run under the NetworkService identity. (For more information about this problem, see The NetworkService identity corresponds to the login name NT AUTHORITY\NETWORK SERVICE, which is a name automatically built into Windows. If you do not have any existing application pools that run under this identity, you must create a new pool that does. Otherwise, you can add MainBossRemote to any existing pool that has the NetworkService identity.

Important: Whatever application pool you use for the web site, we recommend that it should run in the Integrated managed pipeline mode. This ensures appropriate authentication security. However, as discussed in Security Considerations, some cell phone and PDA services do not support integrated authentication, so you may have to choose a different authentication scheme.

To work with application pools, you use the IIS manager. Start the manager on the computer where you will run the web server. (See Initial Set-Up of this guide for a reference on how to start the IIS manager.)

If you decide to create a new application pool for MainBossRemote, you must create the pool:

  1. In the left-hand panel of the IIS manager, expand the entry labeled with the name of the computer.
  2. Right-click on Application Pools. In the resulting menu, click Add Application Pool.
  3. In the resulting window, enter a name for the pool (e.g. MainBoss). The .NET Framework version should be the highest available and the managed pipeline mode should be Integrated (or Classical if you make that security choice). When you click OK, the pool will be created, using default settings.
  4. The new pool is automatically given a default identity. Typically, this is either NetworkService or ApplicationPoolIdentity. If the default identity is not NetworkService, you must change the pool's identity to NetworkService by following these steps:
Right-click on the name of the pool in the list of application pools.
  • In the resulting menu, click Advanced Settings.
  • In the resulting window, click the entry for Identity (under Process Model).
  • Click the "..." button on the right-hand side of the field.
  • In the resulting window, click Built-in Account, drop the arrow, and select NetworkService from the list.
  • Keep clicking OK until you get back to the IIS manager.
  • See Also:

    < Previous section  |  Table of Contents  |  Index  |  Next section >