« Previous Next »

Thread: Web.config conflict between 1.1 and 3.5 framework

Last post 01-10-2009 11:46 PM by steve schofield. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 01-09-2009, 11:19 AM

    Web.config conflict between 1.1 and 3.5 framework

    Hi,

    I have my website published in IIS 6.0 which is 1.1 framework, and within the website there is a virtual directory for a 3.5 web application.

    Website is VB.Net (1.1 framework) and the application as part of the virtual directory is C# (3.5 framework). When I try to browse the web application as part of the virtual directory this throws an error as it is trying to refer the web.config of the parent website (1.1 framework).

    I read on few of the blogs that we can use <location path="." inheritInChildApplications="false"> in the web.config of the parent website, but it is supported 2.0 and above.

    Please can someone share some idea as to how can I get this resolved and both the web applications refer to their respective web.config files.

    Thanks in advance.

  • 01-10-2009, 10:03 PM In reply to

    Re: Web.config conflict between 1.1 and 3.5 framework

    You might need to reverse the rolls and put the .NET 3.5 in the root and 1.1 in a vdir.  Sounds like you should create a secondary site that uses host-headers, point the additional site to the root of the 3.5 application.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 01-10-2009, 11:14 PM In reply to

    Re: Web.config conflict between 1.1 and 3.5 framework

    Thanks Steve.

    Unfortunately, reversing can't be done. As the website developed in 1.1 is the main parent site and is on https protocol.
    Regarding Host-Headers, I had read that it is not supported while using SSL.

    Please can you confirm, if in such case creation of new website is the only option.

  • 01-10-2009, 11:46 PM In reply to

    Re: Web.config conflict between 1.1 and 3.5 framework

Page 1 of 1 (4 items)
Microsoft Communities