Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

uninstalling .net 4.0 and having  .NET Framework 4.6.1 instead

Posted on 2016-09-30
3
Medium Priority
?
258 Views
Last Modified: 2016-10-09
Hi;

I am maintaining a web application which is compiled in 4.0 and it is under IIS 7.5. In the machine, i can see 4.6.1 is in place.

In the application pool, I saw .NET 4.0 is selected but it is not clear for me whether it is using 4.6.1 or 4.0 after seeing this http://forums.asp.net/t/2068374.aspx?Is+IIS+7+5+capable+of+hosting+applications+targeting+NET+Framework+4+6+

My issue is that admins will be uninstalling 4.0, 4.5 and 4.5.1 since the EOL period for them is approaching and plans to keep 4.6.1

My first question is that is my application really running on 4.6.1 (since it is not clear for me on IIS) or on 4.0?

My second question is that if .NET 4.0 is uninstalled from the server environment, does this mean the binaries compiled in 4.0 will break?

Br.
0
Comment
Question by:jazzIIIlove
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 83

Expert Comment

by:David Johnson, CD, MVP
ID: 41824434
don't uninstall just ensure that an updated version is installed.
https://blogs.msdn.microsoft.com/dotnet/2015/12/09/support-ending-for-the-net-framework-4-4-5-and-4-5-1/
check the value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full \Release
378389       .NET Framework 4.5
378675       .NET Framework 4.5.1 installed with Windows 8.1
378758       .NET Framework 4.5.1 installed on Windows 8, Windows 7 SP1, or Windows Vista SP2
379893       .NET Framework 4.5.2
393295 (Windows 10) or 393297 (All other OS versions)       .NET Framework 4.6
394254 (Windows 10) or 394271 (All other OS versions)       .NET Framework 4.6.1

.net 4.x.x are backward compatible to earlier versions of .net 4.x.x
1
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 41825817
Hi;

.NET Framework 4.6.1 will be installed before uninstalling 4.0. Is it still safe? All the binaries are compiled with 4.0. Would it work just fine?

Br.
0
 
LVL 83

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 total points
ID: 41825822
I would reverse the order uninstall 4.0 and install 4.6.1 or you risk breaking .net
0

Featured Post

Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

662 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question