Prerequisites

Note:

To set up ASP.NET correctly, you must install IIS before running Windows Updates.

If Windows Updates are run before installing the IIS, Windows Updates will install Microsoft.Net without setting up the ASP.NET. In this scenario, refer to Microsoft Support on how to re-register ASP.NET in IIS.

This is usually accomplished by running aspnet_regiis.exe -i from the .NET v4.0.30319 folder.