So I'm trying to manually migrate from Umbraco 4.7.1.1 to 7.1.0. I think I'm almost done, but now when I run the site I get the following error:
The given filter instance must implement one or more of the following filter interfaces: IAuthorizationFilter, IActionFilter, IResultFilter, IExceptionFilter.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The given filter instance must implement one or more of the following filter interfaces: IAuthorizationFilter, IActionFilter, IResultFilter, IExceptionFilter.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: The given filter instance must implement one or more of the following filter interfaces: IAuthorizationFilter, IActionFilter, IResultFilter, IExceptionFilter.]
System.Web.Mvc.GlobalFilterCollection.ValidateFilterInstance(Object instance) +145
Umbraco.Web.WebBootManager.Initialize() +715
Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +127
[HttpException (0x80004005): The given filter instance must implement one or more of the following filter interfaces: IAuthorizationFilter, IActionFilter, IResultFilter, IExceptionFilter.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12949749
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
[HttpException (0x80004005): The given filter instance must implement one or more of the following filter interfaces: IAuthorizationFilter, IActionFilter, IResultFilter, IExceptionFilter.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12966756
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12806561
I'm not sure how to proceed, or where it might be getting messed up. Any suggestions on where to look?
I have only just started looking at Umbraco so this may be unrelated but i have recieved the above error very frequently after performing a build. For me it is caused becuace the web.config runtime assembly binding for System.Web.Mvc keeps getting changed (presumably by Visual Studion) to 5.1.0.0, a quick reset to the Umbraco defaults sorts it for me.
Having trouble upgrading from 4.7.1.1 to 7.1.0
So I'm trying to manually migrate from Umbraco 4.7.1.1 to 7.1.0. I think I'm almost done, but now when I run the site I get the following error:
The given filter instance must implement one or more of the following filter interfaces: IAuthorizationFilter, IActionFilter, IResultFilter, IExceptionFilter.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The given filter instance must implement one or more of the following filter interfaces: IAuthorizationFilter, IActionFilter, IResultFilter, IExceptionFilter.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
I'm not sure how to proceed, or where it might be getting messed up. Any suggestions on where to look?
Hi Dan and welcome to our :)
What steps did you take in order to upgrade? Did you go directly from A to B or did you do upgrades from 4.7.1 > 4.8 > 4.9 and so on?
/Jan
I have only just started looking at Umbraco so this may be unrelated but i have recieved the above error very frequently after performing a build. For me it is caused becuace the web.config runtime assembly binding for System.Web.Mvc keeps getting changed (presumably by Visual Studion) to 5.1.0.0, a quick reset to the Umbraco defaults sorts it for me.
Anthony
Did you even resolve this? I have the same error but cannot figure out why. It's an upgrade from 4.11 to the latest v6
is working on a reply...