Solved

uninstalling .net 4.0 and having  .NET Framework 4.6.1 instead

Posted on 2016-09-30
3
72 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
  • 2
3 Comments
 
LVL 78

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 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now