Reputation: 3
Not too sure what this error really means?
Upvotes: 0
Views: 249
Reputation: 35308
Without more information about your database schema, the error most likely means there is a foreign key relationship between the table you're trying to insert a record into -- i.e. the "foreign key" table -- and another table -- i.e. the "primary key" table. You cannot insert a record into your target table without first having an existing record in the primary key table whose primary key value is what you're trying to insert into the foreign key column in your target table.
Upvotes: 1