IIS 7.x / 8.x HTTP Error 500.19 in combination with WSUS and compression schema module

IIS 7.x / 8.x HTTP Error 500.19 in combination with WSUS

HTTP Error
May be seen when browsing the SafeGuard Enterprise webpage http://SERVERNAME/SGNSRV

HTTP Error 500.19 - Internal Server Error
Module StaticCompressionModule or DynamicCompressionModule
Error Code 0x8007007e


Known to apply to the following Sophos product(s) and version(s)
SafeGuard Enterprise Server 5.60.1
SafeGuard Enterprise Server 6.0
SafeGuard Enterprise Server 6.10.0
SafeGuard Enterprise Server 7.0

Operating System
Windows Server 2008 (R2),
Windows Server 2012 (R2)

What To Do

This issue is because of the XPress compression schema module (suscomp.dll) which gets installed with WSUS. Compression schemes are defined globally and try to load in every Application Pool. It will result in this error when the 64bit version of suscomp.dll attempts to load in an Application Pool which is running in 32bit mode [enable32BitAppOnWin64]. 32bit mode is needed for SafeGuard Enterprise Server to run.

1. Navigate to %WINDIR%\system32\inetsrv\config\
2. Create a backup copy of the file applicationhost.config and save it to a different location.
3. Open the applicationhost.config in Notepad.
4. Search for the following entry:

<scheme name="xpress" doStaticCompression="false" doDynamicCompression="true" dll="C:\Windows\system32\inetsrv\suscomp.dll" staticCompressionLevel="10" dynamicCompressionLevel="0" />

5. Remove / Disable the XPress compression schema from the configuration using the command below:

%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']

6. Verify if the compression schema has been removed form the applicationhost.config.
7. Save the applicationhost.config and restart IIS services.

For further information please see external source: