To resolve this it is necessary to re-register the ASP.Net files with IIS. In older versions of Windows, it is possible to perform the following steps.
1) Open a command prompt
2) cd %SystemRoot%\Microsoft.NET\Framework\v4.0.30319
3) run: aspnet_regiis.exe -i
In newer versions, a message like this may be presented:
This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.
Follow the directions at
http://go.microsoft.com/fwlink/?LinkID=216771 to re-register the ASP.Net files.