Orchestrator Installation using Scripts throws HTTP Error 500.21 - Internal Server Error

What are the details of Error 500.21 that occurs in Orchestrator, after the installation was done using Scripts?

To resolve HTTP Error 500.21 during Orchestrator installation error, the .NET Framework v4.0.30319 needs to be repaired from command prompt by executing the below steps : 

Run the following commands from an elevated Command Prompt (run as Administrator) :

  1. Perform a silent repair of the 4.0 .NET Framework
  • For 32 bit servers with .Net Framework version 4.0.30319, run the following command :

%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

  • For 64 bit servers with .Net Framework version 4.0.30319, run the following command :

%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart

 

2. Install ASP.NET and configure IIS to use it

  • For 32 bit servers, run the following command :

%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe /iru

  • For 64 bit servers, run the following command :

%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe /iru