Symptoms
-
Plesk and websites are not accessible on localhost with one of the following error messages:
500 external Server Error
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.Detailed Error Information:
Module DynamicCompressionModule
...
Error Code 0x8007007eNote: Error code can also be 0x80070005.
-
The following error message may appear in
%plesk_dir%adminlogsphp_error
ERR [panel] Could not ping database connection: Unable to get PSADb administrator password: The system cannot find the file specified. (Error code 2) at Unable to connect to pipe ...
Cause
The file %windir%system32inetsrvconfigApplicationHost.config
refers to a compression scheme that is not properly configured.
Resolution
-
Connect to the Plesk server via RDP.
-
Run the following command to locate the module reference that is invalid. In the example below, the faulty module is "xpress":
C:> %windir%system32inetsrvappcmd.exe list config -section:system.webServer/httpCompression | findstr "dll"
<scheme name="br" dll="%ProgramFiles%IISIIS Compressioniisbrotli.dll" />
<scheme name="gzip" dll="%ProgramFiles%IISIIS Compressioniiszlib.dll" />
<scheme name="xpress" doStaticCompression="false" doDynamicCompression="true" dll="C:Program FilesWSUSServicesWebServicessuscomp.dll" staticCompressionLevel="10" dynamicCompressionLevel="0" /> -
Create a backup file of IIS configuration:
C:> %windir%system32inetsrvappcmd.exe add backup BeforeEditBackup
-
Remove the XPress compression scheme from IIS configuration:
C:> %windir%system32inetsrvappcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
-
Open the file
%windir%system32inetsrvconfigApplicationHost.config
in a text editor and search for the line with the scheme name:xpress scheme <scheme name="xpress" doStaticCompression=... />
If it exists, remove the line and save the changes.
-
Restart IIS:
C:> iisreset