IIS7.5 error code 0x8007007e HTTP error 500.19-internal Server error

Source: Internet
Author: User
Tags ntfs permissions

After you deploy a WCF service in a win2008+iis7.5 environment today, a page that cannot be opened continues to appear. The specific error message is as follows:

HTTP Error 500.19-internal Server error cannot access the requested page because the associated configuration data for the page is invalid. Detailed error message module Dynamiccompressionmodule notification sendresponse handler staticfile error code 0x8007007e request URL * * * Physical path C:/ecg2.0/ewecgservice Logon method Anonymous Logon user anonymous the most likely cause: The worker process could not read the ApplicationHost.config or Web. config file. There is a malformed XML in the applicationhost.config or Web. config file. The server cannot access the ApplicationHost.config or Web. config file because NTFS permissions are incorrect. What you can try: Query the event log for information about why the configuration file is unreadable. Ensure that the user ID or authenticated user specified for the application pool has the necessary permissions to access the Web. config file.

Search on the internet for a long time, the discovery is not a matching error. Finally found in an English-language website.

Workaround:

#Remove/disable The XPress compression scheme from the configuration using the command below:%WINDIR%/SYSTEM32/INETSR V/appcmd.exe set config-section:system.webserver/httpcompression/-[name= ' Xpress ']

The original text reads as follows:

Error message:http error 500.19-internal Server error The requested page cannot be accessed because the related Configur ation data for the page is invalid. Module dynamiccompressionmodule Notification sendresponse Handler staticfile Error Code 0x8007007e requested URL http://l Ocalhost:80/physical Path c:/inetpub/wwwroot logon Method Anonymous logon User anonymousreason:error Code 0x8007007e is:e Rror_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's 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's invalid, and then fix the reference. To determine which module reference are incorrect, enable Failed Request tracing, and then reproduce the problem. For above specific error (mentioned-in-example), Dynamiccompressionmodule module is causing the TRouble. This was because of the XPress compression scheme module (suscomp.dll) which gets installed with WSUS. Since Compression schemes is defined globally and try to load in every application Pool, it'll result in this error whe N 64bit version of Suscomp.dll attempts to a 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=" "dynamiccompressionlevel=" 0 "/>Hence to get rid Of this problem:øremove/disable the XPress compression scheme from the configuration using the command Below:%windir%/sys Tem32/inetsrv/appcmd.exe set config-section:system.webserver/httpcompression/-[name= ' Xpress ']orøadd an attribute of "Precondition=" 64bitness "for this module entry so, it loads only on 64bit application Poolsrefer this blog for more Details on preconditions in Iis7orøuse a 32bit version of SUSCOMP.DLl*************************************** 

IIS7.5 error code 0x8007007e HTTP error 500.19-internal Server error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.