Solved

Can .NET Framework 4.0 coexist with .NET 2.0

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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