20

I am using visual studio 2012 ultimate. Every time I open asp.net web form application the following message pops up. Configuring web http://"localhost":35651/ for ASP.NET 4.5 failed.

You must manually configure this site for ASP.NET 4.5 in order for the site to run correctly. 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 you site to run correctly.

How to get rid of this message ?

Rajesh Loganathan
  • 11,129
  • 4
  • 78
  • 90
rwd2018
  • 201
  • 1
  • 2
  • 3
  • refer http://stackoverflow.com/questions/15873126/unable-to-launch-the-iis-express-web-server – Anil Dec 08 '14 at 05:37

4 Answers4

22

You can install this update and your problem should be solved: MSDN link

Update: I've uploaded the file to my Dropbox account so that people can have alternative URL in case if the first one fails, The File Name is VS11-KB3002339.exe

Ameer Fares
  • 353
  • 2
  • 9
8

I had this problem on Windows 8.1 and Windows 10 which wouldn't support the aspnet_regiis -i approach.

Go to Control Panel, Click On Programs locate the "Turn Windows features on or off" option Under Programs and Features and drill down as follows:

Internet Information Services -> World Wide Web Services -> Application Development Features and check the "ASP.NET 4.5" option. In checking this box, other options such as ".NET Extensibility 4.5" and the ISAPI options will be checked automatically.

Apply the changes by clicking OK. Restart your System.

  • This was such an odd problem, but I guess that is because this device hadn't been configured entirely, as its IIS was completely off. Thanks! – Travis J Nov 07 '17 at 09:05
1

Use aspnet_regiis.exe -i. Only you need to set the path of .net version. See this link for more information

ASP.NET 4.5 has not been registered on the Web server

Community
  • 1
  • 1
Mahesh Malpani
  • 1,782
  • 16
  • 27
0

FOR VISUAL STUDIO 2012

you actually need to download an update to fix it from here:

https://support.microsoft.com/en-us/kb/3002339

Description: Unexpected dialog box appears when you open projects in Visual Studio 2012 after you install the .NET Framework 4.5.3

Reference from related thread. https://stackoverflow.com/a/49746751/3261852

Munavvar
  • 802
  • 1
  • 11
  • 33