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