HTTP Error 500 31 - ANCM Failed To Find Native Dependencies

Installed Test Manager in Same as Orchestrator server. While loading the Page and error" HTTP Error 500.31 - ANCM Failed to Find Native Dependencies" is coming. How to troubleshoot?

Error Description: Check the event viewer logs and see if the below error is there

Could not find

  • aspnetcorev2_inprocess.dlEÉxception message:

It is not possible to find any compatible framework version

  • The framework Microsoft.NETCore.App•, version •3.1.17' was not found

Root Cause: This could happen if there is an issue with the ASPNET core installation or if there is an issue with the Application pool settings.

Resolution: It is recommended to do a reinstall in this scenario. If not possible then follow the next step,

  • Check the application pool settings and set if that is as per the below screenshot