Asp.net 4.0 child app not working on IIS 7.5?

I have a website on IIS 7.5 configured as shown below.

ParentWebSite
       ---ChildWebApp
  • ParentWebSite is an Asp.Net 4.0 website project.
  • ChildWebApp is an Asp.Net 4.0 web application.

When I access the following URL, it works fine.

http://ParentWebSite/

When I access childWebApplication using the following URL.

http://ParentWebSite/ChildWebApp

It gives a compilation error showing that one namespace (ParentWebSite.BLL) was not found. But this namespace is used only in ParentWebSite and is not mentioned at all in ChildWebApp.

My question is: why is my ChildWebApp dependent on the ParentWebSite DLL?

Is ChildWebApp when deployed as described above independent of ParentWebSite when both use their own application pool?

+3
2

, , , parentWebSite web.config - , . , , , , /bin /app _code/, .

, web.config , .

, inheritInChildApplications = "false", .

+2

( , Convert to Application)?

0

Source: https://habr.com/ru/post/1751078/


All Articles