Resolution for HTTP 500.19 Errors in IIS 7.X

by jask2002 1. April 2012 00:34

 One of the most common error message on IIS 7 is 500.19.

For your easy reference I’m adding scenarios and resolutions from KB 942055

You 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.

 Resolution 1

Delete the malformed XML element from the ApplicationHost.config file or from the Web.config file.

Resolution 2

To resolve this problem, use one of the following methods.

Method 1

Do 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 2

Grant 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:

1.       In Windows Explorer, locate the ApplicationHost.config file that is associated with the Web site, or locate the Web.config file that is associated with the Web site.

2.       Right-click the ApplicationHost.config file, or right-click the Web.config file.

3.       Click Properties.

4.       Click the Security tab, and then click Edit.

5.       Click Add.

6.       In the Enter the object names to select box, type computername\IIS_IUSRS, click Check Names, and then click OK.

Note Computername is a placeholder for the computer name.

7.       Click to select the Read check box, and then click OK.

8.       In the ApplicationHost.config Properties dialog box or in the Web.config Properties dialog box, click OK.

Resolution 3

In the ApplicationHost.config file, delete the duplicate entry for the authorization rule. To do this, follow these steps:

1.       Click Start, type Notepad in the Start Search box, right-click Notepad, and then click Run as administrator.

Note If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

2.       On the File menu, click Open, type %windir%\System32\inetsrv\config\applicationHost.config in the File name box, and then click Open.

3.       In the ApplicationHost.config file, delete the duplicate entry that resembles the following code.

<add accessType="Allow" users="*" />

Resolution 4

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.

Resolution 5

Ensure that the specified module's bitness is the same as the hosting application pool, and make sure that the module is not corrupt.

Resolution 6

Examine 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 7

Verify 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 8

To 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.0

Resolution 9

To 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)

 


PayPal — The safer, easier way to pay online. Has this post helped you? Saved you? If you'd like to show your appreciation. Please buy me a coffee or make a small contribution toward blog's maintenance(to keep it Ads free )

Tags: ,

IIS 7

Pingbacks and trackbacks (1)+

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About me

Hi there,

My name is  Jas and I'm currently working with Microsoft IIS/ASP.Net Escalation services.  Services

 

Tag cloud

Month List

RecentComments

Comment RSS

TextBox

 

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.