Question : Visual Studio 2010 ASP.NET 4.0 not registered error

I am getting the following error message when creating a new web site in Visual Studio 2010 using HTTP and 4.0 as the .Net framework.

ASP.NET 4.0 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.0 in order for your site to run correctly, Press F1 for more details

Of course pressing F1 takes me somewhere useless.

I am using Windows 7 and have enabled ASP.NET Windows Feature (Internet Information Services -> World Wide Services -> Application Development Features -> ASP.NET)

I can create web sites using HTTP and 3.5 framework, and using File System and 4.0 - so it seems the problem is something to do with IIS7 ?

Answer : Visual Studio 2010 ASP.NET 4.0 not registered error

It might be a simple case of needing to manually register .Net 4 with IIS. Run the following from a command prompt:
1:
c:\path_to_framework_4\aspnet_regiis -i
Random Solutions  
 
programming4us programming4us