Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Error:

HTTP Error 500.19 - Internal Server Error. The requested page cannot be accessed because the related configuration data for the page is invalid

Solution:

The root cause of the error was related to how IIS 10 (windows SRV 2022) handled the “<Authentication>” statements in the section of the “web.config” file as shown in the screenshot below. In Windows Server 2008 R2 (IIS 6), the statements in the “<Authentication>” section of the “web.config” file were accepted without any issue, however the same did not apply to IIS 10 (WSRV 2022). The solution was to remove the “<Authentication>” section from the “web.config” file, and then make the same statements using the IIS interface Authentication page.

Web.Config file ”<Authentication>” section.

...

IIS Interface Authentication page.

...