Not sure what happened, but all of a sudden I am getting this error when trying to go to the shoppingcart.aspx page.
Unable to cast object of type 'System.Web.Security.RolePrincipal' to type 'AspDotNetStorefrontCore.AspDotNetStorefrontPrinci pal'.
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.InvalidCastException: Unable to cast object of type 'System.Web.Security.RolePrincipal' to type 'AspDotNetStorefrontCore.AspDotNetStorefrontPrinci pal'.
Source Error:
Line 213: if (HttpContext.Current != null)
Line 214: {
Line 215: m_ThisCustomer = ((AspDotNetStorefrontPrincipal)Context.User).ThisC ustomer;
Line 216:
Line 217: if (AppLogic.ProductIsMLExpress() == false && AppLogic.AppConfigBool("GoogleCheckout.ShowOnCartP age"))
Source File: d:\Inetpub\wwwroot\Staging\XFXForce_Store\App_Code \SkinBase.cs Line: 215