tMany Many different errors can be fixed by simply running a .NET repair. Performing a .NET Repair will vary based on what version of Windows Server you’re running.
...
- Open a Command Prompt as an administrator and run each of these separately:
- Dism/online /Disable-Feature /FeatureName:IIS-ASPNET45
- dism /online /enable-feature /featurename:IIS-ASPNET45 (This can take a moment – wait until you see a progress bar appear and reach 100%)
Clearing .NET Temp Files
...
- Open command prompt as an administrator
- Run the command: iireset iisreset /stop
- Browse to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files in the windows files explorer
- Clear the temp files in this location that pertain to GlobalSearch
- Run the command iisreset /start
...