This question is locked. New answers and comments are not allowed.
I just upgraded from 2011.2.712 to 2011.3.1115. There were no errors / issues with the upgrade process. On running though I get the below exception with the menu now:
System.Reflection.ReflectionTypeLoadException occurred
Message=Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source=mscorlib
StackTrace:
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Telerik.Web.Mvc.Infrastructure.Implementation.ControllerTypeCache.GetAllControllerTypes() in f:\115\Griffin\Trunk Full\Sources\Source\Telerik.Web.Mvc\Infrastructure\Implementation\ControllerTypeCache.cs:line 142
InnerException:
This occurs on the line:
@(Html.Telerik().Menu()
.Name("menu").HtmlAttributes(new {@class="menu"})
.BindTo("Nav") // ViewData["Nav"] contains the sitemap
)
This didn't happen before. It appears I can continue through the exceptions but I have to hit continue several times on each page load. I realize I could turn off my "Common Language Runtime throw errors" setting in Debug->Exceptions but I want it to break with errors that happen with my code (my "Enable just my code" is turned on).
Ideas?
Oh I should have added the LoaderExceptions:
Method 'GetControllerSessionBehavior' in type 'Microsoft.Web.Mvc.MvcDynamicSessionControllerFactory' from assembly 'Microsoft.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
Method 'GetControllerSessionBehavior' in type 'Microsoft.Web.Mvc.Resources.ResourceControllerFactory' from assembly 'Microsoft.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
System.Reflection.ReflectionTypeLoadException occurred
Message=Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source=mscorlib
StackTrace:
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Telerik.Web.Mvc.Infrastructure.Implementation.ControllerTypeCache.GetAllControllerTypes() in f:\115\Griffin\Trunk Full\Sources\Source\Telerik.Web.Mvc\Infrastructure\Implementation\ControllerTypeCache.cs:line 142
InnerException:
This occurs on the line:
@(Html.Telerik().Menu()
.Name("menu").HtmlAttributes(new {@class="menu"})
.BindTo("Nav") // ViewData["Nav"] contains the sitemap
)
This didn't happen before. It appears I can continue through the exceptions but I have to hit continue several times on each page load. I realize I could turn off my "Common Language Runtime throw errors" setting in Debug->Exceptions but I want it to break with errors that happen with my code (my "Enable just my code" is turned on).
Ideas?
Oh I should have added the LoaderExceptions:
Method 'GetControllerSessionBehavior' in type 'Microsoft.Web.Mvc.MvcDynamicSessionControllerFactory' from assembly 'Microsoft.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
Method 'GetControllerSessionBehavior' in type 'Microsoft.Web.Mvc.Resources.ResourceControllerFactory' from assembly 'Microsoft.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.