How to run web application in Classic pipeline mode on IIS 7 managed by Parallels Plesk Panel

Created:

2016-11-16 13:25:21 UTC

Modified:

2017-08-16 17:14:27 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to run web application in Classic pipeline mode on IIS 7 managed by Parallels Plesk Panel

Applicable to:

  • Plesk 11.x for Windows
  • Plesk 12.0 for Windows
  • Plesk 9.x for Windows

Symptoms

After migrating Parallels Plesk Panel from Windows 2003 to Windows 2008, some web applications may stop working. This could happen because the application works on IIS 6, but does not work on IIS 7 in the Integrated pipeline mode that is used by default for any IIS 7 user application pool managed by Parallels Plesk Panel.

Resolution

  1. It is recommended to switch the website to run in a dedicated application pool. Go to the web hosting setup for the domain and enable the Use dedicated pool option.
  2. Run the following command to switch the pipeline mode on the specified website:

    C:\\Windows\\System32\\inetsrv>appcmd.exe set apppool <domain name>(domain)(2.0)(pool) /managedPipelineMode:Classic
    APPPOOL object "<domain name>(domain)(2.0)(pool)" changed
  3. Please be careful to leave service pools (Plesk panel, webmail, and such) intact.

  4. To make every new pool in Classic mode, you can use event handlers; common ones are described here . The idea is to make a handler that will run a script that switches a new domain pool to Classic mode upon domain creation.
  5. Once converted, pools stay in the assigned mode and are never changed by Parallels Plesk Panel.
Have more questions? Submit a request
Please sign in to leave a comment.