Problem after upgrade
Could not load type 'Telerik.Sitefinity.Mvc.ControllerToolboxItemAttribute' from assembly 'Telerik.Sitefinity, Version=9.0.6010.0, Culture=neutral, PublicKeyToken=b28c218413bdf563'.
Problem Code:
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/MVC/Views/Default.cshtml")]
public partial class _MVC_Views_Default_cshtml : System.Web.Mvc.WebViewPage<SitefinityWebApp.Mvc.Models.MapModel>
public _MVC_Views_Default_cshtml()
public override void Execute()
Any ideas?
Hi,
Here are a few things to check:
1. Make sure that the SitefinityWebApp project's .NET Target framework is 4.5.
2. In the web.config file check that the section group for "system.web.webPages.razor" has the Version attribute correctly specified as 3.0.0.0 like so:
<
sectionGroup
name
=
"system.web.webPages.razor"
type
=
"System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
>
<
section
name
=
"host"
type
=
"System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
/>
<
section
name
=
"pages"
type
=
"System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
/>
</
sectionGroup
>
Thanks Velizar,
I'll try these and report back on this thread.