Ch 6: Unique Key Constraint Violation
Hey All,
I am having problems adding users to existing roles. I can create a new role and add users to that role without problems. The problems arises when I try to add a user to an existing role. I get the following error when I try:
System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_RoleCapability'. Cannot insert duplicate key in object 'dbo.ENTRoleCapability'.
Am I doing something wrong? Any help is appreciated.
Thanks
|