Select the product you need help with
Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.19 – Internal Server Error"Article ID: 942055 - View products that this article applies to. On This PageSymptomsYou have a Web site that is hosted on Internet Information Services (IIS) 7.0. When you visit the Web site in a Web browser, you may receive an error message that resembles one of the following: Error message 1 Server Error in Application "application name" HTTP Error 500.19 – Internal Server Error HRESULT: 0x8007000d Description of HRESULT The requested page cannot be accessed because the related configuration data for the page is invalid. Error message 2 Server Error in Application "application name" HTTP Error 500.19 – Internal Server Error HRESULT: 0x80070005 Description of HRESULT The requested page cannot be accessed because the related configuration data for the page is invalid. Error message 3 Server Error in Application "application name" HTTP Error 500.19 – Internal Server Error HRESULT: 0x800700b7 Description of HResult The requested page cannot be accessed because the related configuration data for the page is invalid. Error message 4 Server Error in Application "application name"
HTTP Error 500.19 – Internal Server Error HRESULT: 0x8007007e Description of HResult The requested page cannot be accessed because the related configuration data for the page is invalid. Error message 5 Server Error in Application "application name" HTTP Error 500.19 – Internal Server Error HRESULT: 0x800700c1 Description of HRESULT The requested page cannot be accessed because the related configuration data for the page is invalid. Error message 6 Server Error in Application "application name" HTTP Error 500.19 – Internal Server Error HRESULT: 0x800700b7 Description of HRESULT The requested page cannot be accessed because the related configuration data for the page is invalid. Error message 7 Server Error in Application "application name" HTTP Error 500.19 – Internal Server Error HRESULT: 0x8007010b Description of HRESULT The requested page cannot be accessed because the related configuration data for the page is invalid. Error message 8 Server Error in Application "application name" HTTP Error 500.19 – Internal Server Error HRESULT: 0x8007052e Description of HRESULT The requested page cannot be accessed because the related configuration data for the page is invalid. Error message 9 Server Error in Application "application name" HTTP Error 500.19 – Internal Server Error HRESULT: 0x80070021 Description of HRESULT The requested page cannot be accessed because the related configuration data for the page is invalid. CauseCause of error message 1This problem occurs because the ApplicationHost.config file or the Web.config file contains a malformed XML element. To resolve this problem, see Resolution 1.Cause of error message 2This problem occurs for one of the following reasons:
Cause of error message 3This problem occurs because the ApplicationHost.config file has a duplicate entry for the following code.Cause of error message 4This problem occurs because the ApplicationHost.config file or the Web.config file references a module or a DLL that is invalid or that does not exist. To resolve this problem, see Resolution 4.Cause of error message 5This problem can occur if the bitness of the specified module is different than that of the application pool hosting the application. For example, you are attempting to load a 32-bit component into a 64-bit application pool. This problem may also occur if the specified module is corrupted.Cause of error message 6This problem may occur if there is a duplicate entry for the specified configuration section setting at a higher level in the configuration hierarchy (for example, in a parent site/folder’s web.config or applicationHost.config file). The error message itself points out the location of duplicate entry or entries.Cause of error message 7This problem can occur if the specified content directory cannot be accessed.Cause of error message 8The default process identity in IIS 7.0 does not have sufficient permissions to open the Web.config file on a remote share.Cause of error message 9This problem can occur when the specified portion of the IIS configuration file is locked at a higher configuration level.ResolutionResolution 1Delete the malformed XML element from the ApplicationHost.config file or from the Web.config file.Resolution 2To resolve this problem, use one of the following methods.Method 1Do not configure the Web site to use UNC Passthrough authentication to access the remote UNC share. Instead, specify a user account that has the appropriate permissions to access the remote UNC share.Method 2Grant the Read permission to the IIS_IUSRS group for the ApplicationHost.config file or for the Web.config file. To do this, follow these steps:
Resolution 3In the ApplicationHost.config file, delete the duplicate entry for the authorization rule. To do this, follow these steps:
Resolution 4In 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.Resolution 5Ensure that the specified module's bitness is the same as the hosting application pool, and make sure that the module is not corrupt.Resolution 6Examine the specified configuration file and compare it with its parent applicationHost.config and/or web.config files to check for duplicate entries as suggested by the error message. Either remove the duplicate entry, or make the entry unique.Resolution 7Verify that the file path exists, is properly named, has correct file-level permissions set, and is pointing to a valid file system type. If you are not sure what the file path is, use the Process Monitor tool or Failed Request Tracing to identify it.Resolution 8To resolve this problem, see the following article:934515
(http://support.microsoft.com/kb/934515/
)
You receive an error message when you try to view a Web page from a Web site that uses pass-through authentication in Internet Information Services 7.0Resolution 9To resolve this problem, unlock the specified section, or do not use it at that level. For more information on configuration locking, see the following article:http://learn.iis.net/page.aspx/145/how-to-use-locking-in-iis-70-configuration
(http://learn.iis.net/page.aspx/145/how-to-use-locking-in-iis-70-configuration)
PropertiesArticle ID: 942055 - Last Review: March 15, 2013 - Revision: 5.0
| Article Translations
|


Back to the top








