Solved Web.config and allowing Inheritance

Posted on 2011-05-04
Last Modified: 2012-05-11
I have an application (virtual directory as app) off the root of .net site. This application has it's own web.config. (It doesn't have to but it does at this moment). I am running into issues with inheritance of assemblies from its parent web.config. I know I can turn that off but what if I want the app to inherit assemblies from the root web.config? I get "Can not load assembly XXXX" errors when running my application. I would like for this application to inherit those assemblies so That I may use them without having to redefine them in the sub web.config. Is this possible? How can i make my application find the assemblies in the root applications BIN folder?

Question by:ronayers
    LVL 39

    Accepted Solution

    You're better off GACING the assemblies required.  This way they are available to all.

    Author Closing Comment

    Thats what I was afraid of.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now