Symptoms
-
Plesk login pages shows the following error:
503 Service Unavailable.
-
Websites are unavailable with the same 503 error.
-
Under Event Viewer > Applications, the following error can be found on an attempt to start the IIS:
The Module DLL C:WindowsSysWOW64inetsrvModSecurityIIS.dll failed to load. The data is the error.
-
ModSecurity was removed manually.
Cause
ModSecurity Modules are still enabled via IIS Manager > <SERVER HOSTNAME> > Modules after the manual removal.
Resolution
-
Connect to the server via RDP.
-
Backup
applicationHost.config
:C:> cd %systemroot%system32inetsrvconfig
C:> copy applicationHost.config applicationHost.config.original
-
Open IIS Manager > <SERVER HOSTNAME> > Modules, select ModSecurity IIS (32bits) and ModSecurity IIS (64bits) and click Remove in the right pane.
-
In the right pane, click Configure Native Modules... and remove both ModSecurity modules, if these are present.
-
Remove component ModSecurity from Plesk via Command Prompt:
C:> plesk installer --select-release-current --remove-component modsecurity
-
Restart IIS:
C:> iisreset