IIS(IIS7.5/IIS8.0/IIS8.5/IIS10)出現(xiàn) HTTP 錯(cuò)誤 500.19 - Internal Server Error 錯(cuò)誤代碼 0x8007007e)的解決辦法
[重要通告]如您遇疑難雜癥,本站支持知識(shí)付費(fèi)業(yè)務(wù),掃右邊二維碼加博主微信,可節(jié)省您寶貴時(shí)間哦!
IIS出現(xiàn)500錯(cuò)誤有很多種,這不今天又出現(xiàn)了一種,在Windows 2012 IIS8中出現(xiàn)的,一下還忘記截圖了,很是郁悶的說(shuō),錯(cuò)誤大致文字如下:
HTTP 錯(cuò)誤 500.19 - Internal Server Error 無(wú)法訪問(wèn)請(qǐng)求的頁(yè)面,因?yàn)樵擁?yè)的相關(guān)配置數(shù)據(jù)無(wú)效。 詳細(xì)錯(cuò)誤信息 模塊 DynamicCompressionModule 通知 SendResponse 處理程序 StaticFile 錯(cuò)誤代碼 0x8007007e 請(qǐng)求的 URL *** 物理路徑 d:\wwwroot\你網(wǎng)站的目錄 登錄方法 匿名 登錄用戶 匿名 最可能的原因: 工作進(jìn)程無(wú)法讀取 applicationhost.config 或 web.config 文件。 applicationhost.config 或 web.config 文件中存在格式錯(cuò)誤的 XML。 由于 NTFS 權(quán)限不正確,服務(wù)器無(wú)法訪問(wèn) applicationhost.config 或 web.config 文件。 可嘗試的操作: 查詢事件日志中有關(guān)配置文件不可讀的原因的信息。 確保為應(yīng)用程序池指定的用戶標(biāo)識(shí)或通過(guò)身份驗(yàn)證的用戶具有訪問(wèn) web.config 文件的必需權(quán)限。
這鬼錯(cuò)誤找了好久也沒(méi)找到解決方式,無(wú)意在一個(gè)站內(nèi)看到了這個(gè)方向,不過(guò)運(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/
微軟官方救了命,不然還真不知道咋操作,從未見(jiàn)過(guò)這樣的500錯(cuò)誤,又增加了一點(diǎn)大腦存儲(chǔ);
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 ***************************************
問(wèn)題未解決?付費(fèi)解決問(wèn)題加Q或微信 2589053300 (即Q號(hào)又微信號(hào))右上方掃一掃可加博主微信
所寫所說(shuō),是心之所感,思之所悟,行之所得;文當(dāng)無(wú)敷衍,落筆求簡(jiǎn)潔。 以所舍,求所獲;有所依,方所成!
賞
支付寶贊助
微信贊助
免責(zé)聲明,若由于商用引起版權(quán)糾紛,一切責(zé)任均由使用者承擔(dān)。
您必須遵守我們的協(xié)議,如您下載該資源,行為將被視為對(duì)《免責(zé)聲明》全部?jī)?nèi)容的認(rèn)可->聯(lián)系老梁投訴資源 LaoLiang.Net部分資源來(lái)自互聯(lián)網(wǎng)收集,僅供用于學(xué)習(xí)和交流,請(qǐng)勿用于商業(yè)用途。如有侵權(quán)、不妥之處,請(qǐng)聯(lián)系站長(zhǎng)并出示版權(quán)證明以便刪除。
敬請(qǐng)諒解! 侵權(quán)刪帖/違法舉報(bào)/投稿等事物聯(lián)系郵箱:service@laoliang.net
意在交流學(xué)習(xí),歡迎贊賞評(píng)論,如有謬誤,請(qǐng)聯(lián)系指正;轉(zhuǎn)載請(qǐng)注明出處: » IIS(IIS7.5/IIS8.0/IIS8.5/IIS10)出現(xiàn) HTTP 錯(cuò)誤 500.19 - Internal Server Error 錯(cuò)誤代碼 0x8007007e)的解決辦法