Fixing 500.19 web.config error

Scope: Easy2Patch 4.0

If you receive a 500.19 Web.config error when you try to access the portal after completing the SessionLimit installation, it may be necessary to repair the .Net Core 6.0 installation.

Error Details

HRESULT code 0x8007000d

Error message:

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.

Cause

This problem occurs because the ApplicationHost.config or Web.config file contains a malformed or unidentified XML element. IIS can't identify the XML elements of the modules that are not installed. For example, IIS URL Rewrite module.

Resolution

Use one of the following methods:

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

  • Check the unidentified XML elements, and then install the relevant IIS modules.

Last updated