Skip to Content

Auto start IIS 8.5

Once Vinyl is installed and configured, open up IIS Manager and update the Application Pool to always be running:

  1. Launch the Internet Information Services (IIS) Manager.

    Iis Manager

  2. Select Application Pools from the Connections panel.

    Application Pools

  3. Locate your application pool, and right-click, then selected Advanced settings:

    Image 2016 10 21 16 44 32

  4. Specify 'Always Running' under Start Mode:

    Image 2016 10 21 16 46 16

  5. Specify 0 for Idle Time-out:

    Image 2017 4 21 12 55 35

In order for this setting to work correctly, confirm that the Application Initialization role is installed on the web server. In some configurations it is installed by default, but in some cases a manual installation is required. To confirm whether the role requires installation, open up IIS Administrator, and select the server on the left panel. Then double click the Modules icon in the center panel. If the Application Initialization module is not visible, then it must be installed.

Image 2016 10 27 15 11 18

The following is a link with instructions for installing the Application Initialization role on Windows Server 2012. The steps are also outlined below:

  1. Open the Server Manager on the web server
  2. Click Add Roles and Features
  3. In the Add Roles and Features wizard, click Next. Select the installation type and click Next. Select the destination server and click Next.
  4. On the Server Roles page, expand Web Server (IIS), expand Web Server, expand Application Development, and then select Application Initialization. Click Next.

    Applicationinitialization Setup Winserver 2012 Small

  5. Click Next and Confirm the Installation, the Close the results

In some cases, the installer will notify the administrator that a server reboot is required. If this is the case, reboot the server to complete the installation of the Application Initialization Role.

This will ensure that after server reboots or application pool recycling, the Vinyl engine will start back up. The default behavior is for the application pool to start back up when the first client request is made. Test Always Running Behavior to ensure that your application pool is starting up correctly.

Finally, back in IIS Manager, click on the Vinyl application (not the Vinyl application pool).

Click advanced properties, and specify PreLoad Enabled = True.

Autostart preloadenabled

Application Initialization is now configured correctly. Following are links indicating how to test the behavior or trouble shoot some common issues that have been encountered.

Testing and troubleshooting

Test always running behavior

Troubleshoot auto start behavior