Results 1 to 8 of 8

Thread: Running 1.1 and 2.0 framework on same Windows 2003 box

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2000
    Location
    Minnesota
    Posts
    830

    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?

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,710

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    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.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,710

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2000
    Location
    Minnesota
    Posts
    830

    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.

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,710

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  7. #7
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    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).

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,173

    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
  •  



Click Here to Expand Forum to Full Width