Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi.
I was customized membership provider.after that default role provider not work properly.
for example when i want to add user to role following error occurred:
the user "x" not found.
my user table schema:
SQL
CREATE TABLE [dbo].[Users](
    [UserID] [uniqueidentifier] NOT NULL,
    [ApplicationName] [nvarchar](max) NULL,
    [ApplicationId] [uniqueidentifier] NOT NULL,
    [IsAnonymous] [bit] NOT NULL,
    [LastActivityDate] [datetime] NOT NULL,
    [Tenant] [nvarchar](50) NOT NULL,
    [Username] [nvarchar](100) NOT NULL,
    [Email] [nvarchar](100) NOT NULL,
    [Created] [datetime] NOT NULL,
    [LastUpdated] [datetime] NOT NULL,
    [PasswordChanged] [datetime] NOT NULL,
    [RequiresPasswordReset] [bit] NOT NULL,
    [MobileCode] [nvarchar](max) NULL,
    [MobileCodeSent] [datetime] NULL,
    [MobilePhoneNumber] [nvarchar](max) NULL,
    [AccountTwoFactorAuthMode] [int] NOT NULL,
    [CurrentTwoFactorAuthStatus] [int] NOT NULL,
    [IsAccountVerified] [bit] NOT NULL,
    [IsLoginAllowed] [bit] NOT NULL,
    [IsAccountClosed] [bit] NOT NULL,
    [AccountClosed] [datetime] NULL,
    [LastLogin] [datetime] NULL,
    [LastFailedLogin] [datetime] NULL,
    [FailedLoginCount] [int] NOT NULL,
    [VerificationKey] [nvarchar](100) NULL,
    [VerificationPurpose] [int] NULL,
    [VerificationKeySent] [datetime] NULL,
    [HashedPassword] [nvarchar](200) NOT NULL


help please.
Posted
Updated 19-Oct-13 0:03am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900