找不到名为“ContentPicker”的“脚本”

时间:2012-12-08 18:40:22

标签: .net content-management-system orchardcms orchardcms-1.6

我通过复制网站升级了Orchard 1.6的Orchard 1.4站点。我以前没有菜单,但现在正在添加菜单,我正在尝试添加内容菜单项。当我单击管理应用程序导航区域中的添加按钮时,出现以下错误。知道如何解决这个问题吗?

A 'script' named 'ContentPicker' could not be found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: A 'script' named 'ContentPicker' could not be found.

Source Error: 


Line 13:     <meta charset="utf-8" />
Line 14:     <title>@Html.Title(title, siteName)</title> 
Line 15:     @Display(Model.Head)
Line 16:     <script>(function(d){d.className="dyn"+d.className.substring(6,d.className.length);})(document.documentElement);</script> 
Line 17: </head> 

1 个答案:

答案 0 :(得分:3)

由于您通过复制站点并保留相同的数据库进行升级,因此默认安装将启用的某些模块将被禁用。

其中一个模块是ContentPicker。所以,你只需要启用模块..