Internet Information Services (IIS) Application Pools


I see a lot of posts in ASP.NET forums about permissions, and many of these are related to the identity of the application, specifically when the Web application disallows anonymous authentication and doesn’t use impersonation. Here is how you can check your settings:

IIS 7

  • Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  • In Internet Information Services (IIS) Manager, in the Connections pane of the left, expand the server on which you opened IIS, expand Sites, and then click the site for which you want to see the application pool used.
  • In the Actions pane, which is by default located on the right side, under Edit Site, click Basic Settings.
  • In the Edit Site dialog box, the name of the application pool is shown in the Application poolbox.
    • Click the ellipsis (…) button next to the Application pool box, if you want to select a new application pool.
  • Click Cancel to close the the Edit Site dialog box.
  • In the Connections pane, click Application Pools.
  • In the Application Pools pane in the middle, in the list, locate and click the application pool in question.
  • In the list, notice the Identitycolumn, which tells you exactly which identity or account is being used for running the application pool.
    • If you want to select a new identity, right-click the application pool, and then click Advanced Settings.
    • In the Advanced Settings dialog box, under Process Model, click the box next to Identity, and then click the ellipsis (…) button.
    • In the Application Pool Identity dialog box, click a new identity in the Built-in account list, or set a custom one by clicking the Custom account option, and then click Set.
    • Close the dialog box(es).
  • When done, close Internet Information Services (IIS) Manager.


IIS 6

  • Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  • In Internet Information Services (IIS) Manager, in the pane of the left, expand the server on which you opened IIS, and then expand Web Sites.
  • Right-click the site for which you want to see the application pool used, and then click Properties.
  • In the Properties dialog box, click the Home Directory tab, under Application settings, the name of the application pool is shown in the Application poollist.
    • If you want to select a new application pool, just click the already defined application in the Application pool list.
  • Click Cancel to close the the Properties dialog box, or click OK if you changed the application pool.
  • In the pane of the left, expand Application Pools.
  • Right-click the application for which you want to see the identity used, and then click Properties.
  • In the Properties dialog box, click the Identitytab, where the name of the application pool is shown.
    • If you want to change the identity used for the application pool, in the Properties dialog box, click a new identity in the Predefined list, or set a custom one by clicking the Configurable option, and specify the user name and password.
    • Click Apply.
    • Close the dialog box(es).
  • When done, close Internet Information Services (IIS) Manager.
Advertisements