So in my MVC 3 project I decided to use the built-in Account/Membership system and so I integrated those necessary tables in with the rest of the tables... The problem is with an Update Controller Action Method, when I go to save changes to a profile, I get this error:
"The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_Profiles_aspnet_Users". The conflict occurred in database "***", table "dbo.aspnet_Users", column 'UserId'. The statement has been terminated."
The thing is, it shouldn't be trying to update the aspnet_Users table, it should be updating the Profiles table... Anyone have any ideas?
Here's a snapshot of the aspnet_Users table, Profiles table, and the Foreign Key...



New Topic/Question
Reply


MultiQuote




|