Last post Dec 15, 2017 05:53 AM by AngelinaJolie
Dec 14, 2017 04:02 AM|vinodkpasi|LINK
In Visual Studio 2013 after creating the WebSite using localhost I am got the following alert message.
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.
While configuring aspnet_regiis.exe -i under Framework version V4.XXX below are the error details,
Microsoft (R) ASP.NET RegIIS version 4.0.30319.34209
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.34209).
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.34209).
Dec 14, 2017 05:20 AM|zxj|LINK
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
The Aspnet_regiis.exe utility is no longer used for installing and uninstalling ASP.NET 4.5 with IIS. ASP.NET 4.5 is now a Windows component and can be installed and uninstalled just like any other Windows component.
To install or uninstall ASP.NET 4.5 on Windows 8 or Windows Server 2012, use one of the following options:
Run the following command from an administrative command prompt: dism /online /enable-feature /featurename:IIS-ASPNET45
For Windows 8 client computers, turn on "IIS-ASPNET45" in "Turn Windows Features On/Off" under "Internet Information Services-> World Wide Web Services -> Application Development Features -> ASP.NET 4.5".
For Windows Server 2012 computers, enable "IIS-ASPNET45" using Server Manager, under "Web Server (IIS) -> Web Server ->Application Development -> ASP.NET 4.5".
Dec 14, 2017 05:13 PM|vinodkpasi|LINK
I tried all the steps but it did not resolve the issue.
Dec 15, 2017 05:53 AM|AngelinaJolie|LINK
After asking help from MSDN team, here are the
1: make sure that you have installed the .net framework
from TURN windows features on or
2: run cmd as
if not working, please try this C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe
3: if still not working, the final solution, please re-install your
Hope it is helpful to you.
With regards, Angelina Jolie