If ever you came across to this problem and non of the above solutions helped you, maybe you can try this. I also had this weird issue, and the way I was able to have it fixed is I have set the a field to primary key and have it auto increment or set to Identity. Say you have the Person table and you have a personID maybe, set it to primary key and make sure it is auto incremented.