ASP.NET 4.5 has not been registered after installing windows 10

asp.net-mvc-4visual studio 2012windows 10

After upgrading to Windows 10, I started getting this error:

ASP.NET 4.5 has not been registered on the Web server. You need to
manually configure your Web server for ASP.NET 4.5 in order for your
site to run correctly.

I searched on it and found this link ASP.NET 4.5 has not been registered on the Web server

I tried the accepted answer.

Unfortunately, on Windows 10, this doesn't work. It'll respond with:

Microsoft (R) ASP.NET RegIIS version 4.0.30319.0 Administration
utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved. Start
installing ASP.NET (4.0.30319.0). 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. Finished installing
ASP.NET (4.0.30319.0).

After this I opened Programs and Features window, hit the "Turn Windows Features on or off" in the left pane.

I click on

Internet Information Services -> World Wide Web Services ->
Application Development Features

But I can't see there ASP.NET 4.5 option.
How can I solve this issue?

Best Answer

Just for your information this error message doesn't really affect anything, it has no impact on your project. Anyway, Microsoft has published a fix for all impacted versions of Microsoft Visual Studio.

Hope this helps!

Related Topic