After deploying WCF services in a win2008+iis7.5 environment today, pages that cannot be opened are always present. The specific error message is as follows:
HTTP Error 500.19-internal Server error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed error message
Module Dynamiccompressionmodule
Notify Sendresponse
Handler Staticfile
Error code 0x8007007e
Requested URL * * *
Physical path C:/ecg2.0/ewecgservice
Login Method Anonymous
Login User Anonymous
The most probable cause:
The worker process could not read the ApplicationHost.config or Web.config file.
Malformed XML exists in the ApplicationHost.config or Web.config file.
The server cannot access applicationhost.config or Web.config files because NTFS permissions are incorrect.
Actions you can try:
Query the event log for information about why the configuration file is not readable.
Ensure that the user identity specified for the application pool or authenticated user has the necessary permissions to access the Web.config file.
Search on the internet for a long time, found that are not matching errors. Finally found in an English-language website.
Solution:
#Remove/disable The XPress compression scheme from the configuration using the command below: (The following commands are available in DOS)
Copy Code code as follows:
%windir%/system32/inetsrv/appcmd.exe set config-section:system.webserver/httpcompression/-[name= ' Xpress ']
Original post address: http://blogs.msdn.com/b/webtopics/archive/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7.aspx