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

筅森魡賤 提交于 2020-01-14 12:54:12

问题


When we try to browse images in sitecore 7.1 application are getting the below error which is migrated from 6.2 to 7.1.

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


回答1:


What you need to do is either:

  • Go to your App_Config/Include folder, and rename Sitecore.MVC.config.disabled to Sitecore.MVC.config;
  • Or disable SPEAK (by renaming the SPEAK configs).


来源:https://stackoverflow.com/questions/20471147/asp-page-sitecore-shell-client-speak-layouts-layouts-speak-layout-cshtml-does

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!