[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Asp.net Web.config and allowing Inheritance

Posted on 2011-05-04
Medium Priority
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 asp.net application find the assemblies in the root applications BIN folder?

Question by:ronayers
LVL 41

Accepted Solution

Kyle Abrahams earned 2000 total points
ID: 35693897
You're better off GACING the assemblies required.  This way they are available to all.

Author Closing Comment

ID: 35722123
Thats what I was afraid of.

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Integration Management Part 2
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

873 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