我已经创建了一个果园CMS博客与像www.testurl.com一个网址我想有另一个子站点的地址www.testurl.com/subsite如何在IIS7的Orchard CMS下添加ASP.NET MVC子应用程序?
我已经添加在IIS7和果园的应用博客工作正常,但当我尝试访问的网址:www.testurl.com/subsite
我得到以下错误:
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'Orchard' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 103: Line 104: Line 105: Line 106: Line 107:
Source File: c:\inetpub\wwwroot\Blog\Web.config Line: 105
才能做到这一点?我需要修改Orchard站点还是IIS?
感谢
马克
我没有找到一个有效的解决方案来此还,以下博客提出了我尝试过的解决方案,但遇到了其他问题,它可能适用于其他人:http://runtingsproper.blogspot.com/2010/04/solved-breaking-parent-webc onfig.html我已经设法得到一个令人满意的解决方法,将我的果园网站移动到一个子网站并让根网址重新指向新的位置,所以现在所有的网址都按预期工作 – foz1284 2012-01-13 14:25:54
您是否考虑制作您的子MVC网站您的乌节路主站点的模块?这很容易完成。 – santiagoIT 2012-01-13 17:26:17