tags:

views:

128

answers:

1

When inserting data in my database with linq to sql i get this exception on SubmitChanges(), yet everything used to work before:

System.ApplicationException: Member AutoSync failure. For members to be Auto-Synced after insert, the type must either have an auto-generated identity, or a key that is not modified by the database after insert.

A: 

Like the error says, does your table have an identity column on it? If it does, have you tried to change the value of it before Submitting?

Kris C
I was doing multiply submits with starting my application several times. And the rows changed from one process caused problems in my other processes.
ta4ka