Solved

Can .NET Framework 4.0 coexist with .NET 2.0

Posted on 2010-09-23
4
1,603 Views
Last Modified: 2013-11-07
Hello,

We currently have a webserver with .NET 2.0 SP2, .NET 3.0 SP2 and .NET 3.5 SP1 installed on it.  The sites are running in ASP.NET version 2.0.50727.  My question is, if we install .NET 4.0 on this same webserver, will it effect the websites?  Is installing 4.0 similar, or the same, to installing 3.5?  When we installed 3.5, the sites weren't negatively effected.  Please let me know if it is safe to install 4.0 on this webserver without breaking the sites which currently reside there.

Thanks,

Morgan
0
Comment
Question by:BRI-Consulting
  • 2
  • 2
4 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 33744573
It should be safe to install it side-by-side. The move from 3.5 to 4.0 is slightly different because 4.0 is a new version, whereas 3.5 is bascially a bolt-on to 2.0.

As long as the App Pool your sites run under continue to point at the right version of the framework then there shouldn't be any problems.
0
 

Author Comment

by:BRI-Consulting
ID: 33745158
So would 4.0 remove the 3.5 or 2.0 implementations from the webserver?  How can I determine which versions of .NET my app pools are pointing to?
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 250 total points
ID: 33745250
No, installing 4.0 will leave all existing sites as they are. You can see what version of the framework each application targets by going into IIS Admin, bringing up the properties for an application and going to the ASP.Net tab.

You can group several applications under a single application pool. You just have to make sure that all of the applications within a pool are using the same .Net version (although you might get a warning if you try and drop different versions into the same pool; can't remember off the top of my head!)
0
 

Author Comment

by:BRI-Consulting
ID: 33745333
Ok, gotcha.  Thank you for all of your help!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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