• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1660
  • Last Modified:

Can .NET Framework 4.0 coexist with .NET 2.0

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
BRI-Consulting
Asked:
BRI-Consulting
  • 2
  • 2
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
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
 
BRI-ConsultingAuthor Commented:
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
 
Carl TawnSystems and Integration DeveloperCommented:
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
 
BRI-ConsultingAuthor Commented:
Ok, gotcha.  Thank you for all of your help!
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now