search
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Did you try getting the contact by just using the memebrshipuser guid
{"Specified cast is not valid."}{Mediachase.Commerce, Version=5.2.377.1, Culture=neutral, PublicKeyToken=6e58b501b34abce3}
I am running EpiServer CMS 6 R2. On top of that a custom platform has been built. In the custom platform there is a custom role provider and a custom membership provider. Both the custom role provider and a custom membership provider are multiplexed with more standard providers.
I have made sure I have a valid DataContext and SqlContext. The user is a standard System.Web.Security.MembershipUser, with membership provided by the custom membership provider.
If I disable the custom role and membership providers everything works, with the exception that I can't log in the the way I am supposed to.
I have looked at the code inside of GetContactForUser and GetCachedValue (decompile) but there is no obvious casting going on.
Why could I be getting this error?
Any hint would be appriciated.