IIS7.5 錯誤代碼0x8007007e HTTP 錯誤 500.19 - Internal Server Error


 

 
 
 
 

今天在win2008+IIS7.5的環境中部署WCF服務后,一直出現無法打開的頁面。具體錯誤信息如下:

HTTP 錯誤 500.19 - Internal Server Error
無法訪問請求的頁面,因為該頁的相關配置數據無效。
詳細錯誤信息
模塊 DynamicCompressionModule
通知 SendResponse
處理程序 StaticFile
錯誤代碼 0x8007007e
請求的 URL ***
物理路徑 C:/ECG2.0/eWECGService
登錄方法 匿名
登錄用戶 匿名
最可能的原因:
工作進程無法讀取 applicationhost.config 或 web.config 文件。
applicationhost.config 或 web.config 文件中存在格式錯誤的 XML。
由於 NTFS 權限不正確,服務器無法訪問 applicationhost.config 或 web.config 文件。
可嘗試的操作:
查詢事件日志中有關配置文件不可讀的原因的信息。
確保為應用程序池指定的用戶標識或通過身份驗證的用戶具有訪問 web.config 文件的必需權限。

在網上搜尋了好久,發現都不是匹配的錯誤。最終在一個英文網站找到了。。

解決辦法:

#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']

 

原文如下:

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 AnonymousReason: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 poolsRefer this blog for more details on Preconditions in IIS7ORØ Use a 32bit version of suscomp.dll***************************************

附上原帖地址:http://blogs.msdn.com/b/webtopics/archive/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7.aspx


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM