我创建了Umbraco 7 MVC站点并将其部署到IIS。所以这个URL就像例如:www.mydomain.com。 在一个子目录中,我托管了一个单独的MVC网站。因此该网址可以是:www.mydomain.com/MVCApplication。在IIS中托管使用MVC站点的Umbraco站点
当我试图访问子应用程序URL;它给出
Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
因此,我将此dll添加到我的bin文件夹,这是在子目录中。然后它会提示另一个错误
Could not load file or assembly 'UrlRewritingNet.UrlRewriter' or one of its dependencies. The system cannot find the file specified.
看起来子应用程序试图读取根文件夹DLL或根web.config。 Umbraco网站工作正常。当我删除umbraco网站时,子应用程序工作。请任何想法吗?