我在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