-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inheritance security rules violated with MVC5 #37
Comments
Hello, I have the same Problem, after I have updated to MVC 5. I have also updated these packages:
Stacktrace
best regards, |
I propose the following fix for this issue: https://github.com/velum/MembershipStarterKit/compare/troygoode:master...patch-1?quick_pull=1 It corrected the error for me. |
Thanks @velum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just upgraded from MVC 4 to 5 and this error appeared :
Inheritance security rules violated while overriding member: 'MvcMembership.TouchUserOnEachVisitFilter'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
It seems there is a problem with the 'MvcMembership.TouchUserOnEachVisitFilter' class in MV5.
From what I understand, the security level is not high enough for the new MVC5 security policy. I fixed some of the errors I had by updating PagedListPager and MvcMembership via the PMC.Could it be related to the fact that the AssemblyInfo.cs has this assembly line ?
It seems to be related to the PagedListPager issue #68.
The line that causes the error is :
Here is the whole code in the MvcMembership.cs file in App_Start
Thank you
The text was updated successfully, but these errors were encountered: