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'?

This error generally occurs if one of the config files is corrupted or have invalid data or formatting.

Resolution: Perform the below

  • Check the event viewer logs and find which file is causing the issue.
  • Try opening all the config files in the IIS using the configuration editor and see if below view opens

  • If still issues are present with one of the config sections, validate the web.config file and ensure that there are no duplicate entries or corrupt data.
  • If there are any such data, remove the same by comparing to a sample and and save it. Reset the IIS and that should solve the issue.