Last post May 30, 2018 05:43 PM by oerten
May 29, 2018 08:47 PM|oerten|LINK
I'm trying to install .NET Framework on a test server to run a web app built in ASP.NET. Could anyone help me? Because it's built on .NET Framework 4.6. I go into test server closest installed framework is 4.0. I tried to install Framework 4.6 and it
says it has already 4.6 or later update. Below is the message.. Helpppp!
Microsoft .NET 2015
.NET Framework 4.6 or a later update is already installed on this computer...
Thank you and looking forward to your reply soon guys.
May 29, 2018 09:28 PM|PatriceSc|LINK
It seems to be installed already. What make you think it is missing? Try perhaps https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies to
see which version comes with your server operatjng system.
May 29, 2018 09:31 PM|oerten|LINK
Thanks but I have viewed in registery of test server and in there it has Framework 4.0 as highest software installed. So therefore, this message is
May 29, 2018 09:41 PM|PatriceSc|LINK
What is your operating system and which registry key are you reading ?
It could be a confusion between ".NET Framework 4.x" which is basically a set of "DLLs" that brings new features each time and the underlying 4.0 low level "runtime" which is the same for all those versions.
Edit; see perhaps https://docs.microsoft.com/en-us/dotnet/standard/clr
May 29, 2018 09:53 PM|oerten|LINK
Interersting. Here is my .NET Framework key in registry and I'm on Windows Server 2016.
And it lists v4.0.30319
May 30, 2018 05:57 AM|PatriceSc|LINK
This is the CLR version and you'll see also apparently the supported SKUs under that....
See https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed to check the
version. According to the earlier link 2016 comes with .NET Framework 4.6.2.
May 30, 2018 03:36 PM|oerten|LINK
Good Morning Patrice,
It worked, Thank You. I went to the same article as well. But I was looking in:
But they (MS :| ) actually wants you to look at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full - .NET Framework Setup
Thanks and Have a nice rest of week!
Orhan Erten (Systems Analyst/Engineer)
May 30, 2018 04:08 PM|oerten|LINK
Thank you Patrice for good help. What's difference between .NET CLR Version (I see in Application Pools info) and Actual version? Which version does ASP.NET web app use?
Thank you in advance.
May 30, 2018 04:24 PM|PatriceSc|LINK
The "CLR" is the "runtime execution engine" or the "virtual machine" on top of which .NET Framework code is running.
CLR 2 is used by .NET Framework 2, 3, 3.5
CLR 4 is used by all .NET Framework 4.x version
Try perhaps https://docs.microsoft.com/en-us/dotnet/standard/clr that should show it is really the "low level" services for running code and so it is changed much less often. Then on top
of that you have .NET Framework that can provide new features through new classes with each version (even if the code still runs using the same CLR version)
May 30, 2018 05:08 PM|oerten|LINK
Thank you. So if my ASP.NET web app was built for .NET Framework 4.6, will it work on CLR 4? Application Pools info in IIS:
.NET CLR Version Managed Pipeline Mode Applications
DefaultappPool v4.0 Intergrated 0
.NET v4.5 Classic v4.0 Classic 0
.NET v4.5 v4.0 Integrated 1
Thank you and Regards,
May 30, 2018 05:35 PM|PatriceSc|LINK
May 30, 2018 05:43 PM|oerten|LINK
Thank you Patrice. Appreciated.