Figure 2.
Target the Right Version.
You can use the ASP.NET IIS Registration tool (Aspnet_regiis.exe) to update the script maps for an ASP.NET application and ensure your app targets the right version of the .NET Framework.