Saltar al contenido

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: https://www.iis.net/configreference/system.webserver/applicationinitialization

  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.

Finalmente, de Regreso en IIS Manager, Haga Clic en la Aplicación Vinyl (no en el Grupo de Aplicaciones Vinyl).

Haga clic en propiedades avanzadas y especifique PreLoad Enabled = True.

Inicio automático precargado

La inicialización de la aplicación ahora está configurada correctamente. A continuación se encuentran enlaces que indican cómo probar el comportamiento o solucionar algunos problemas comunes que se han encontrado.

Pruebas y Solución de Problemas

Probar el comportamiento siempre en ejecución

Solucionar problemas de comportamiento de inicio automático