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

x
?
Solved

Can .NET Framework 4.0 coexist with .NET 2.0

Posted on 2010-09-23
4
Medium Priority
?
1,652 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 1000 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

Industry Leaders: 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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Integration Management Part 2
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

877 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