Iis – Repair .NET Framework on Windows 2008 R2

asp.netdotnet-frameworkiiswindows-server-2008

One of our web servers has become inoperable and after some searching we think the .NET Framework might be corrupted in some way.

The server runs Windows 2008 R2 and uses the 2.0 framework for the ASP.NET application that is (or better: was) running using IIS 7.5.

I'm wondering how we can reinstall the .NET 2.0 Framework on Windows 2008 R2. Any ideas?

Kind regards,
Niels R.

Best Answer

As mention, the .net framework is now an integral part of the OS and can't just be repaired from add/remove programs. You can run System File Checker, to check the OS components by running this from the command prompt.

sfc /scannow

However the only way to perform a full repair of the .net components is to repair or re-install the OS.