Solved

Can .NET Framework 4.0 coexist with .NET 2.0

Posted on 2010-09-23
4
1,621 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
[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
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
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…

632 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