Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

uninstalling .net 4.0 and having  .NET Framework 4.6.1 instead

Posted on 2016-09-30
3
Medium Priority
?
296 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 84

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 84

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

885 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