ASP.NET 4.0 has not been registered on the Web server In visual studio command line tools as an administrator : aspnet_regiis -i