IIS(IIS7.5/IIS8.0/IIS8.5/IIS10)出現(xiàn) HTTP 錯(cuò)誤 500.19 - Internal Server Error 錯(cuò)誤代碼 0x8007007e)的解決辦法

[重要通告]如您遇疑難雜癥,本站支持知識付費(fèi)業(yè)務(wù),掃右邊二維碼加博主微信,可節(jié)省您寶貴時(shí)間哦!

IIS出現(xiàn)500錯(cuò)誤有很多種,這不今天又出現(xiàn)了一種,在Windows 2012 IIS8中出現(xiàn)的,一下還忘記截圖了,很是郁悶的說,錯(cuò)誤大致文字如下:

HTTP 錯(cuò)誤 500.19 - Internal Server Error
無法訪問請求的頁面,因?yàn)樵擁摰南嚓P(guān)配置數(shù)據(jù)無效。
詳細(xì)錯(cuò)誤信息
模塊 DynamicCompressionModule
通知 SendResponse
處理程序 StaticFile
錯(cuò)誤代碼 0x8007007e
請求的 URL ***
物理路徑 d:\wwwroot\你網(wǎng)站的目錄
登錄方法 匿名
登錄用戶 匿名
最可能的原因:
工作進(jìn)程無法讀取 applicationhost.config 或 web.config 文件。
applicationhost.config 或 web.config 文件中存在格式錯(cuò)誤的 XML。
由于 NTFS 權(quán)限不正確,服務(wù)器無法訪問 applicationhost.config 或 web.config 文件。
可嘗試的操作:
查詢事件日志中有關(guān)配置文件不可讀的原因的信息。
確保為應(yīng)用程序池指定的用戶標(biāo)識或通過身份驗(yàn)證的用戶具有訪問 web.config 文件的必需權(quán)限。

這鬼錯(cuò)誤找了好久也沒找到解決方式,無意在一個(gè)站內(nèi)看到了這個(gè)方向,不過運(yùn)行一下就OK了;

解決方法如下:

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

延伸閱讀:(參考資料)

參考網(wǎng)址:https://blogs.msdn.microsoft.com/webtopics/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7/

微軟官方救了命,不然還真不知道咋操作,從未見過這樣的500錯(cuò)誤,又增加了一點(diǎn)大腦存儲;

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

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

 

問題未解決?付費(fèi)解決問題加Q或微信 2589053300 (即Q號又微信號)右上方掃一掃可加博主微信

所寫所說,是心之所感,思之所悟,行之所得;文當(dāng)無敷衍,落筆求簡潔。 以所舍,求所獲;有所依,方所成!

支付寶贊助
微信贊助

免責(zé)聲明,若由于商用引起版權(quán)糾紛,一切責(zé)任均由使用者承擔(dān)。

您必須遵守我們的協(xié)議,如您下載該資源,行為將被視為對《免責(zé)聲明》全部內(nèi)容的認(rèn)可->聯(lián)系老梁投訴資源
LaoLiang.Net部分資源來自互聯(lián)網(wǎng)收集,僅供用于學(xué)習(xí)和交流,請勿用于商業(yè)用途。如有侵權(quán)、不妥之處,請聯(lián)系站長并出示版權(quán)證明以便刪除。 敬請諒解! 侵權(quán)刪帖/違法舉報(bào)/投稿等事物聯(lián)系郵箱:service@laoliang.net
意在交流學(xué)習(xí),歡迎贊賞評論,如有謬誤,請聯(lián)系指正;轉(zhuǎn)載請注明出處: » IIS(IIS7.5/IIS8.0/IIS8.5/IIS10)出現(xiàn) HTTP 錯(cuò)誤 500.19 - Internal Server Error 錯(cuò)誤代碼 0x8007007e)的解決辦法

發(fā)表回復(fù)

本站承接,網(wǎng)站推廣(SEM,SEO);軟件安裝與調(diào)試;服務(wù)器或網(wǎng)絡(luò)推薦及配置;APP開發(fā)與維護(hù);網(wǎng)站開發(fā)修改及維護(hù); 各財(cái)務(wù)軟件安裝調(diào)試及注冊服務(wù)(金蝶,用友,管家婆,速達(dá),星宇等);同時(shí)也有客戶管理系統(tǒng),人力資源,超市POS,醫(yī)藥管理等;

立即查看 了解詳情