ASP.NET 4.5 is not registered after upgrading to Windows 10 - asp.net

I have a WCF web service which was working on Windows 8.1. After upgrading to Windows 10, I noticed that the IIS is not installed anymore. So I installed it along with ASP.NET 4.6 in Windows features. Now, when I open the project in VS2013 it says that ASP.NET 4.5 is not registered. Shouldn't it work with ASP.NET 4.6?

I had the same issue and was able to fix it by installing Visual Studio 2013 Service Pack 5 (the latest at that time).
You can download it from here:
https://www.visualstudio.com/en-us/news/vs2013-update5-vs.aspx
Make sure to select the right version according to the Visual Studio version you have.

Related

.NET 4.0 framework or higher already installed error

When I go to install v4 of .NET Framework, I get an error
.NET 4.0 framework or higher already installed
But despite of this, I am not able to run or make any project in .NET 4 Framework. I had already applied the setting from the windows features but after this also the problem is not solved as I am not getting the option to choose .NET Framework 4 in Visual Studio.
I am using Windows 10 with Visual Studio 2022.

ASP.NET 4.8 Feature unavailable in IIS 8.5 (Windows Server 2012 R2)

Windows Server 2012 R2, IIS 8.5, .NET 4.8 is installed (verified via the Registry, see screen-shot).
On my Windows 10 machine, I see the option to select the ASP.NET 4.8 feature from the "Turn Windows Features on or off" dialog. However, in the Add Server Role wizard on Windows 2012 R2, I only see ASP.NET 4.5 option listed. See screen-shot for comparison.
My question: Is that normal for Windows Server 2012 R2 to only show an ASP.NET 4.5 option? Even if a higher version of the .NET Framework (e.g. 4.8) is installed?
As Windows Server default installation ships with a specific .NET Framework (4.5 for example), Microsoft hard coded the version names (like .NET Framework 4.5) in certain UI elements, such as Server Manager.
That becomes a critical problem, when you upgrade that to a newer .NET Framework release (such as 4.6), because the installer does not update those hard coded names.
This issue has been well known for years, so your only option is to accept it.
My solution is install visual stuido on IIS host and Change properties to 4.8 Framewoker version (https://www.grapecity.com/kb/how-to-change-the--net-framework-version-in-visual-studio)
This solution make my project can run System.IO.Compression.ZipFile .
the ref cant run on default 4.5 version.

Manually configure your web server for ASP.NET 4.0 in order for your site to run correctly

I am getting the attached error while trying to setup and run projects from the Microsoft Visual Studio Express 2012 for Web.
I have tried the following with no luck:
Tried uninstalling .net framework versions VS 2012 web express error(in control panel the software framework is not getting listed)
Tried aspnet_regiis.exe but that produces the error that already framework 4.0 multi-targeting pack is available, Can anyone advice how to uninstall this package and install .net 4.5 in windows 10 machine.

Windows Server 2012 + IIS + NET Framework version error

I'm trying to run an ASP.NET application on my Windows Server 2012 machine.
I followed all the steps that I think were required.
When I try to access the webpage I get this:
The "Application Pool" is set to version 4.0.
In the installed programs, NET Framework 4.5 is shown.
Thank you.
[EDIT]
After tried to install this NET Framework 4.5.2
NET Framework
I got this:
The error message is straightforward:
The targetFramework attribute currently references a version that is later than the installed version of the .NET Framework.
Install .NET 4.5.2 or later on your server.
Just because you see that "4.5" is installed does not mean 4.5.2 is installed. See here for version information and release dates https://en.wikipedia.org/wiki/.NET_Framework_version_history
4.5 with Visual Studio 2012 - 2012-08-15
4.5.1 with Visual Studio 2013 - 2013-10-17
4.5.2 with Windows 8.1 - 2014-05-05
4.6 with Visual Studio 2015 - 2015-07-20
Here is the offline installer for the .NET Framework 4.6.2 which was released in July 2016: https://www.microsoft.com/en-us/download/details.aspx?id=53344
Make sure you install all Windows Updates first, and check your Event Logs for any error reports.

Unable to run Visual Studio 2003 IDE on Windows 7

My machine has windows 7 and when I try to create a project from VS2003 IDE that is Dotnet v1.1 I'm getting the following error message:
Visual Studio has detected that the specified web server is not running asp.net v1.1. you will be unable to run asp.net web application or services
I have searched Google and found some links for the same problem but I am still not able to create asp.net project v1.1 from VS2003 IDE.
Have you tried the following article:
How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008
It says Windows Vista / Server 2008, however I am fairly certain that the same applied for Windows 7.
If you are having trouble understanding a specific part of the article then can you tell us which bit?
Visual Studio 2003's lifecycle ended in 2007,
http://support.microsoft.com/lifecycle/search/default.aspx?sort=PN&alpha=Visual+Studio&Filter=FilterNO
At that time, Windows 7 was not yet released, and such products should not be ever tested on Windows 7 internally.
So my guess is that you should continue using it on an older Windows platform (XP or Windows Server 2003).

Resources