ASP.NET web.config inheritance

Discussion in 'ASP.NET 2.0' started by Bruce, Jan 17, 2007.

  1. Bruce

    Bruce DiscountASP.NET Staff

    Yeah.. web.config inheritence is very confusing. Most people think that the web.config starts at the app root level.



    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. It reminds me of the old "DLL hell". [​IMG]

    Took me a few days to figure this out, the MSDN docs weren't that clear, for me anyway.
    Salute,
    Mark
     
  3. Recently I ran into an odd problem on a DASP server.
    ASP.NET 2.0 code would run locally but would fail on the remote server.

    I apologize to the DASP staff because I thought this was something related to the WinFX server changes.

    In the end looking at the problem from a new angle allowed me to discover the real problem. . .

    Root web.config inheritance!
    [​IMG] This article was of great help in resolving the problem:
    http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx
     

Share This Page