This usually happens when the OSCE/Apex One server is installed in the same box as Windows Server Update Services (WSUS).
Error Code 0x8007007e is:
ERROR_MOD_NOT_FOUND – The specified module could not be found.
- From IIS log, the error is "500 19 126". sc-win32-status is 126.
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken 2021-04-29 14:53:18 10.80.44.81 GET /officescan/default.htm - 4343 - 10.80.44.81 Mozilla/4.0+ (compatible;+MSIE+7.0;+Windows+NT+10.0;+WOW64;+Trident/7.0;+.NET4.0C;+.NET4.0E;+.NET+CLR+2.0.50727; +.NET+CLR+3.0.30729;+.NET+CLR+3.5.30729) - 500 19 126 773
- 126 means ERROR_MOD_NOT_FOUND means the specified module could not be found. You may refer to this Microsoft article for the list of error codes: .
The following is also found in the ApplicationHost.config, which shows the possibility that it was modified by the user:
Line 170-176: <key path="LM/W3SVC/FILTERS/COMPRESSION/xpress"> <property id="2243" dataType="DWord" userType="1" attributes="None" value="0" /> <property id="2215" dataType="DWord" userType="1" attributes="None" value="0" /> <property id="2238" dataType="MultiSZ" userType="1" attributes="None" value="" /> <property id="2240" dataType="DWord" userType="1" attributes="None" value="1" /> <property id="2244" dataType="MultiSZ" userType="1" attributes="None" value="asmx " /> </key> Line 358: <scheme name="xpress" doStaticCompression="false" doDynamicCompression="true" dll="C:\Program Files\Update Services\WebServices\suscomp.dll" staticCompressionLevel="10" dynamicCompressionLevel="0" />
This problem occurs because the ApplicationHost.config file or the Web.config file references a module that is invalid or that does not exist.
Based on the Detailed Error Information, the DynamicCompressionModule module is causing the trouble. This is because of the XPress compression scheme module (suscomp.dll) that gets installed with WSUS. Since compression schemes are defined globally and try to load in every application Pool, it will result in this error when a 64-bit version of suscomp.dll attempts to load in an application pool running in 32-bit mode.
This module entry looks like:
<scheme name="xpress" doStaticCompression="false" doDynamicCompression="true" dll="C:\Windows\system32\inetsrv\suscomp.dll" staticCompressionLevel="10" dynamicCompressionLevel="0" />
Do one of the following to resolve the issue:
- Remove/Disable the XPress compression scheme from the configuration:
- Open Command Prompt.
- Navigate to "%windir%\system32\inetsrv".
- Run the following command:
"appcmd.exe set config -section:system.webServer/httpCompression /-[name=’xpress’]"
- Use a 32-bit version of suscomp.dll.
- Add an attribute of "precondition= "64bitness" for this module entry so that it loads only in 64bit application pools