IIS(IIS7.5/IIS8.0/IIS8.5/IIS10)出现 HTTP 错误 500.19 - Internal Server Error 错误代码 0x8007007e)的解决办法

[全站通告] 想快速节省您的时间并可接受付费的朋友,可扫右边二维码加博主微信-非诚勿扰!

IIS出现500错误有很多种,这不今天又出现了一种,在Windows 2012 IIS8中出现的,一下还忘记截图了,很是郁闷的说,错误大致文字如下:

HTTP 错误 500.19 - Internal Server Error
无法访问请求的页面,因为该页的相关配置数据无效。
详细错误信息
模块 DynamicCompressionModule
通知 SendResponse
处理程序 StaticFile
错误代码 0x8007007e
请求的 URL ***
物理路径 d:\wwwroot\你网站的目录
登录方法 匿名
登录用户 匿名
最可能的原因:
工作进程无法读取 applicationhost.config 或 web.config 文件。
applicationhost.config 或 web.config 文件中存在格式错误的 XML。
由于 NTFS 权限不正确,服务器无法访问 applicationhost.config 或 web.config 文件。
可尝试的操作:
查询事件日志中有关配置文件不可读的原因的信息。
确保为应用程序池指定的用户标识或通过身份验证的用户具有访问 web.config 文件的必需权限。

这鬼错误找了好久也没找到解决方式,无意在一个站内看到了这个方向,不过运行一下就OK了;

解决方法如下:

#Remove/Disable the XPress compression scheme from the configuration using the command below:
(以下代码在cmd中执行命令即可)
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']

延伸阅读:(参考资料)

参考网址:https://blogs.msdn.microsoft.com/webtopics/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7/

微软官方救了命,不然还真不知道咋操作,从未见过这样的500错误,又增加了一点大脑存储;

Error Message:

HTTP Error 500.19 - Internal Server Error 
The requested page cannot be accessed because the related configuration data for the page is invalid. Module DynamicCompressionModule 
Notification SendResponse 
Handler StaticFile 
Error Code 0x8007007e 
Requested URL http://localhost:80/ 
Physical Path C:\inetpub\wwwroot 
Logon Method Anonymous 
Logon User Anonymous

Reason:

Error Code 0x8007007e is:

ERROR_MOD_NOT_FOUND - The specified module could not be found.

This problem occurs because the ApplicationHost.config file or the Web.config file references a module that is invalid or that does not exist. To resolve this problem: In the ApplicationHost.config file or in the Web.config file, locate the module reference or the DLL reference that is invalid, and then fix the reference. To determine which module reference is incorrect, enable Failed Request Tracing, and then reproduce the problem.

For above specific error (mentioned in this example), DynamicCompressionModule module is causing the trouble. This is because of the XPress compression scheme module (suscomp.dll) which 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 64bit version of suscomp.dll attempts to load in an application pool which is running in 32bit mode.

This module entry looks like:

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

Hence to get rid of this problem:

Ø Remove/Disable the XPress compression scheme from the configuration using the command below:

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

OR

Ø Add an attribute of "precondition= "64bitness" for this module entry so that it loads only in 64bit application pools

Refer this blog for more details on Preconditions in IIS7

OR

Ø Use a 32bit version of suscomp.dll

***************************************

 

问题未解决?付费解决问题加Q或微信 2589053300 (即Q号又微信号)右上方扫一扫可加博主微信

所写所说,是心之所感,思之所悟,行之所得;文当无敷衍,落笔求简洁。 以所舍,求所获;有所依,方所成!

支付宝赞助
微信赞助

免责声明,若由于商用引起版权纠纷,一切责任均由使用者承担。

您必须遵守我们的协议,如您下载该资源,行为将被视为对《免责声明》全部内容的认可->联系老梁投诉资源
LaoLiang.Net部分资源来自互联网收集,仅供用于学习和交流,请勿用于商业用途。如有侵权、不妥之处,请联系站长并出示版权证明以便删除。 敬请谅解! 侵权删帖/违法举报/投稿等事物联系邮箱:service@laoliang.net
意在交流学习,欢迎赞赏评论,如有谬误,请联系指正;转载请注明出处: » IIS(IIS7.5/IIS8.0/IIS8.5/IIS10)出现 HTTP 错误 500.19 - Internal Server Error 错误代码 0x8007007e)的解决办法

发表回复

本站承接,网站推广(SEM,SEO);软件安装与调试;服务器或网络推荐及配置;APP开发与维护;网站开发修改及维护; 各财务软件安装调试及注册服务(金蝶,用友,管家婆,速达,星宇等);同时也有客户管理系统,人力资源,超市POS,医药管理等;

立即查看 了解详情