Windows AD Button Click Throws 500 Error

How to troubleshoot error 'The requested page cannot be accessed because the related configuration data for the page is invalid'?

Issue description:

The requested page cannot be accessed because the related configuration data for the page is invalid when using the Windows AD Button to access Orchestrator.

This error generally occurs when one of the configuration files is corrupted or contains invalid data or formatting.


Resolution:

  • Check Event Viewer Logs

    • Open the Event Viewer.
    • Identify which configuration file is causing the issue by reviewing the logs.
  • Validate Configuration Files in IIS

    • Open Internet Information Services (IIS) Manager.
    • Use the Configuration Editor to open each configuration file.
    • Ensure that the configuration view opens without errors.
image.png
  • Validate the web.config File

    This file is used to define application-level settings such as authentication, authorization, URL rewriting, and other IIS features for the application. If the IIS worker process (usually w3wp.exe) has issues reading this file, the error can occur.

    • If issues persist with any configuration sections:
      • Validate the web.config file to ensure there are no duplicate entries or corrupt data.
      • Remove any duplicate or corrupt data by comparing the file to a known good sample.
      • Save the corrected web.config file.
  • Reset IIS

    • After making the necessary corrections, reset IIS to apply the changes.
    • This action should resolve the issue.