Use 1.1 and 2.0 for the same site

Last post 10-21-2006 1:00 PM by albertpascual. 1 replies.

Sort Posts:

  • Use 1.1 and 2.0 for the same site

    10-20-2006, 3:27 PM
    • Member
      47 point Member
    • hseo11
    • Member since 07-06-2006, 3:34 PM
    • Posts 39

    Hi

    I have a live web site builing  with 1.1 and created just one section (folder) with 2.0. This new folder has its own web.config.  

    I thought it would work if I set up separate application pool for this folder and assign ASP.NET 2.0 on IIS, unfortunately it's not working. So my question is if it's possible to use two versions of ASP.Net for the same website, if so how??? (I am using Windows 2003 and IIS 6)

    Thank you

    Michelle

  • Re: Use 1.1 and 2.0 for the same site

    10-21-2006, 1:00 PM
    • All-Star
      17,458 point All-Star
    • albertpascual
    • Member since 05-23-2003, 10:11 AM
    • Riverside, CA
    • Posts 3,474
    • TrustedFriends-MVPs

    Actually if there are 2 different websites with their own web.config. MAke the root folder 1.1 and when you create the virtual directory, you'll find the tab for 1.1 or 2.0. Select 2.0 and of course as you said you need to put a different application pool.

    Now, rememeber that you won't be able to share Sessions (you could but many steps to follow), Authentication etc...

    Best way is to open the 1.1 website project with VS2005 and the editor will convert the website in minutes!!

    Have fun

     

    Cheers
    Al
    My Blog
    MapStats.NET
    Please click on 'Mark as Answer' if this post answered your question!
Page 1 of 1 (2 items)