-
May 7th, 2007, 02:44 PM
#1
Thread Starter
Fanatic Member
Running 1.1 and 2.0 framework on same Windows 2003 box
We have a Windows 2003 box with over 100 websites and various using the 1.1 framework. Can we install the 2.0 framework and run both 1.1 and 2.0 .net web apps?
-
May 7th, 2007, 03:14 PM
#2
Re: Running 1.1 and 2.0 framework on same Windows 2003 box
All framework versions (1.0, 1.1, 2.0, 3.0, 3.5) can run side by side. For safty's sake you should test your apps under any proposed framework versioin change. For WinForm apps usually you target one framework version and the app will use that one but if its not designed for it then it may break if it is changed from an upgrade install of a new FW version. Now if you have multiple versions of th framework then it wil use what it was targeted for.
Here is an old chart on the different loading conditions for the first 3 framework versions.

With web apps its a be a bit different.
You can configure your site to use a particular framework version using IIS. Drawback is that only one specific version can be targetted and/or used per site. Separate sites can have different versions of the framework as their configured target. So no issues there.
So bottom line is yes but if you want to take advantage of the new FW version for a site, it must be individually configured to it.
Edit: WOOT! 40,000 POSTS! 
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 7th, 2007, 09:09 PM
#3
Re: Running 1.1 and 2.0 framework on same Windows 2003 box
With Windows 2003 and the web different versions of the framework can not run in the same process thus two different web applications using different frameworks can not be in the same application pool. If they are you may experience a 'server not available' error. Other than that it should be fine.
-
May 8th, 2007, 01:02 AM
#4
Re: Running 1.1 and 2.0 framework on same Windows 2003 box
With IIS 5.0 you can run multiple versions of the framework with no changes or tweaks.
With IIS 6.0, yes there are issues with Application Pools. Multiple versions of the framework can run side by side but not in the same process. To work around this you can create a new application pool and move the site that you will be designating to use that framework into that pool.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 9th, 2007, 08:45 AM
#5
Thread Starter
Fanatic Member
Re: Running 1.1 and 2.0 framework on same Windows 2003 box
Thanks to all that replied. We tested this out and your suggestions worked great. We do have one other question. When setting up an additional website and change to 2.0 framework it restarts IIS shutting down all the sites. Does anyone see any issue with changing this setting so it doesn't restart? Or does it have to restart?
Thanks.
-
May 9th, 2007, 11:28 AM
#6
Re: Running 1.1 and 2.0 framework on same Windows 2003 box
AFAIK, you need to restart IIS but at lest you dont have to reboot.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 10th, 2007, 12:15 AM
#7
Re: Running 1.1 and 2.0 framework on same Windows 2003 box
In IIS 5.0 you would have to set the site to use High Isolation mode if it used a different version of the framework.
We did not experience any restarting of the IIS when adding new websites. (Unless you meant the very first time after .NET 2.0 was installed).
-
May 10th, 2007, 02:48 PM
#8
Re: Running 1.1 and 2.0 framework on same Windows 2003 box
It's good practice to create a separate application pool for each of your websites.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|