我在IIS 7.5上有一個網站,配置如下。Asp.net 4.0子應用程序在IIS 7.5上不起作用?
ParentWebSite
---ChildWebApp
- ParentWebSite是一個Asp.Net 4.0網站項目。
- ChildWebApp是一個Asp.Net 4.0 Web應用程序。
當我訪問下面的網址它工作正常。
http://ParentWebSite/
當我訪問childWebApplication使用以下網址。
http://ParentWebSite/ChildWebApp
它給出了一個編譯錯誤,顯示一個命名空間(ParentWebSite.BLL)找不到。但該名稱空間僅在ParentWebSite中使用,並且完全不在ChildWebApp中引用。
我的問題爲什麼我的ChildWebApp依賴於ParentWebSite DLL?
如果ChildWebApp在獨立於ParentWebSite的情況下進行部署,且兩者均使用自己的應用程序池,那麼是不是ChildWebApp?
ChildApp被配置爲應用程序。 – Amitabh 2010-06-22 08:34:03