« Previous Next »

Answered Thread: web.config inheritance

Last post 10-20-2009 12:53 PM by chriswolcott. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-19-2009, 5:54 PM

    web.config inheritance

    Ihave an existing Website that is define at the root level and is compiled against .net 2.0.  We have several virtual directories defined that run just fine.  I have added a new virtual directory to test an updated application against .net 3.5.

    The web.config file for the update application is now conflicting against the root web.config in the <configSections> tag.

    Any suggestions on how I can not inherit from the root.

  • 10-19-2009, 6:56 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,244
    • IIS MVPs

    Answered Re: web.config inheritance

    AFAIK there's no way around this.  Can the root web run if set to 3.5?  The 2.0 code is compatible.

  • 10-20-2009, 12:53 PM In reply to

    Answered Re: web.config inheritance

    I just took over the team and after reviewing the web.config a little closer there was no reason they needed the <configSections> tag and definitions.  So I was able to strip the section from the root web and run the Virtual Directory without an issue.  Thanks.

Page 1 of 1 (3 items)
Microsoft Communities