Prerequisite for IIS Hosting
  • 06 Aug 2024
  • 1 Minute to read
  • Dark
    Light

Prerequisite for IIS Hosting

  • Dark
    Light

Article summary

This document demonstrates all the prerequisites require to host the Decisions in IIS (Internet Information Services). To learn more about Installer Hosting Options, refer to the following article.


Application Pool Configuration (Pre-Platform Installation)

The IIS App Pool is used in conjunction with ASP.NET hosting module for server-side functionality.

  1. Click Start, type IIS, and select Internet Information Services (IIS) Manager.
    No IIS Manager Available
    If the IIS Manager option does not appear, search the web to find OS-specific installation instructions. 

  2. In the left Connections panel, expand the localhost Server Name under the Start Page.
  3.  Set Anonymous Authentication to Enabled. When hosted in IIS, the platform requires Anonymous Authentication to be enabled and all other IIS Authentication modes disabled to function correctly.   There are no security risks associated with enabling Anonymous Authentication because all external connections are secured with forms.
  4. Right-click Application Pools, then click Add Application Pool.
  5. Configure the Application Pool settings with the following, then click OK.
    Application Pool Settings 

    Name: DecisionsApplicationPool

    • .NET CLR version: No Manage Code
    • Managed pipeline mode: Integrated
    • Enable Start application pool immediately

  6. Right-click DecisionsApplicationPool and select Advanced Settings.
  7. From the Advanced Settings window, set 
    • Start Mode: Always Running
    • Application Pool Identity: LocalSystem
    • Idle Time-Out (minutes): 0
      Avoiding ASP.NET Core Module Failure 
      Ensure the Enable 32-Bit Applications setting is set to False to prevent the ASP.NET Core Module from failing to load.

  8. Right-click DecisionsApplicationPool and select Recycling (or click the Actions Panel link).
  9. Configure the Application Pool Recycling Settings by disabling Fixed Intervals Regular time intervals(in minutes). Then click Next, and Finish.  

Application Initialization (Pre or Post-Platform Installation)

The following setting (part 1 of 2) ensures the App Pool starts when the machine starts/restarts.  

To enable it:

  1. Minimize IIS Manager, click the Start button, then search for and open Server Manager.
  2. From the Server Manager window, click Manage (upper right corner), then click Add Roles and Features.
  3. From the Add Roles and Features Wizard, click Next through each screen to navigate to the Server Roles screen.
  4. Under Select Server Roles
    • Web Server (IIS) > Web Server > Application Development > Enable Application Initialization and Web Socket Protocol.
    • Web Server (IIS) > Web Server > Performance > Enable Dynamic Content Compression
  5. Click Next, then click Install to confirm installation selections.
  6. Click Close once complete.

Application Preload (Post Platform Installation)

The following setting (part 2 of 2) ensures that the App Pool starts when the machine starts/restarts.\

To enable this: 

  1. Launch IIS Manager and locate the Connections panel (left side of the screen).
  2. Expand the local host server's name beneath Start Page, then expand Sites.
  3. Click Manage Application > Advanced Settings.
  4. Set Preload Enabled to True, then click OK.

Was this article helpful?