HTTP Error 500.19 0x8007007e
This post describes how to fix HTTP error 500.19 with error code 0x8007007e.
1. If the ASP.NET role service has not been installed.
2. If WSUS is also installed on the same machine. This adds an "xpress" scheme to the httpCompression section of the IIS config XML which references a suscomp.dll. You can check this by running:
%windir%\system32\inetsrv\appcmd.exe list config -section:system.webServer/httpCompression
The xpress scheme looks like this:
<scheme name="xpress" doStaticCompression="false" doDynamicCompression="true" dll="C:\Program Files\Update Services\WebServices\suscomp.dll" staticCompressionLevel="10" dynamicCompressionLevel="0" />
Any 32 bit applications running in IIS will try to load the suscomp.dll which is only available as 64 bit out of the box so the error above occurs.
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
You can put the node back by typing the following in an elevated command prompt:
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name='xpress',doStaticCompression='false',dll='%windir%\system32\inetsrv\suscomp.dll']
Cause
This error can occur in a few different situations:
1. If the ASP.NET role service has not been installed.
2. If WSUS is also installed on the same machine. This adds an "xpress" scheme to the httpCompression section of the IIS config XML which references a suscomp.dll. You can check this by running:
%windir%\system32\inetsrv\appcmd.exe list config -section:system.webServer/httpCompression
The xpress scheme looks like this:
<scheme name="xpress" doStaticCompression="false" doDynamicCompression="true" dll="C:\Program Files\Update Services\WebServices\suscomp.dll" staticCompressionLevel="10" dynamicCompressionLevel="0" />
Any 32 bit applications running in IIS will try to load the suscomp.dll which is only available as 64 bit out of the box so the error above occurs.
Resolution
Remove the "xpress" node by typing the following in an elevated command prompt:
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
You can put the node back by typing the following in an elevated command prompt:
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name='xpress',doStaticCompression='false',dll='%windir%\system32\inetsrv\suscomp.dll']
Comments
Post a Comment