On Raw save error database

On Raw save error database

  

Hey guys!


Just finished the exercise 23 from the web course, but when i was testing, i got an error everytime i create a new record from the OrderDetails\EditableTable


"/Orders/InternalError.aspx?ExceptionMessage=The+INSERT+statement+conflicted+with+the+FOREIGN+KEY+constraint+"OSFRK_OSUSR_BFS_ORDERPRODUCT2_OSUSR_BFS_ORDER2_ORDERID".+The+conflict+occurred+in+database+"J3WZAR020"%2c+table+"dbo.OSUSR_BFS_ORDER2"%2c+column+%27ID%27.%0d%0aThe+statement+has+been+terminated."




If i delete the OnProductTableRowSave the error disapears, soo i think he must something about this.


Any help will be good!

Cheers



I think you should take a look at your form and save action...