To resolve this issue, run the following command line:
aspnet_regiis.exe /iru The Aspnet_regiis.exe file can be found in one
of the following locations:
%windir%\Microsoft.NET\Framework\v4.0.30319
%windir%\Microsoft.NET\Framework64\v4.0.30319 (on a 64-bit computer)