Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to configure asp.net with .net 4.5

Tags:

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 ?

like image 434
rwd2018 Avatar asked Dec 08 '14 05:12

rwd2018


People also ask

How do I know if ASP.NET 4.5 is installed?

ASP.NET 4.5: Run the command get-windowsfeature Net-Framework-45-Core. The output indicates the ASP.NET 4.5 install state ("Installed" or "Available").

How do I install ASP.NET 4.5 on Windows 10?

Open the Control Panel, click "Programs" and then click "Turn Windows features on or off" to open the "Windows Features" dialog. 2. Enable ". NET Framework 4.5 Advanced Services > ASP.NET 4.5" (version 4.6 in Windows 10):

Is .NET 4.5 still supported?

NET Framework 4.5. 2, 4.6, and 4.6. 1 will reach end of support* on April 26, 2022. After this date, we will no longer provide updates including security fixes or technical support for these versions.


2 Answers

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

like image 182
Ameer Fares Avatar answered Sep 18 '22 17:09

Ameer Fares


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.

like image 30
Shahid Raees PMP Avatar answered Sep 22 '22 17:09

Shahid Raees PMP