7.1图像字段无法打开“获取system.Web.WebPages.WebPage错误”

时间:2013-12-10 06:59:20

标签: sitecore sitecore7 sitecore7.1

在Sitecore 7.1中打开从6.2迁移到7.1的图像时出现以下错误:

Type 'ASP._Page_sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml' does not inherit from 'System.Web.WebPages.WebPage'.

有人可以帮忙解决这个问题吗?

3 个答案:

答案 0 :(得分:4)

我想我找到了解决问题的方法。 请从 Website \ App_Config \ Include 文件夹Sitecore.Mvc.config文件启用。

我可以复制你的错误。

如果我禁用了它,就会像我一样向我提出同样的错误。 请查看附图。

enter image description here

答案 1 :(得分:2)

Sitecore 7.1要求mvc对SPEAK接口有效,例如您的情况下的图像编辑器。如果你不想激活MVC,你也应该禁用SPEAK ..

答案 2 :(得分:0)

同样的问题:'ASP._Page_sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml' does not inherit from 'System.Web.WebPages.WebPage。在从6.4升级到7.1之后我们遇到了这个问题,并且只需启用Sitecore.Mvc.config文件--Sitecore确认这样做没有坏处,即使你没有使用MVC,那,在干净的7.1安装中,默认情况下启用MVC。

相关问题