I have a vb winforms program (Visual Studio 2005). Among other things the program inserts to a table with an identity field as the primary key. For the sake of speed of development, I'm using an XSD for the inserts. (Just drag the table from the server explorer, create a data manager class that inherits from the Xsd, and then use the default Insert sql generated. In this case however, there are no updates, just inserts. I'm well aware this is not the most efficient technique but only small numbers of records are involved.)
This has worked fine for months. Now suddenly there have been several data exception errors (apparently when multiple users are adding) Message = "Column 'Id Key' is constrained to be unique. Value '4060718' is already present'. The insert sql does not even reference the Id Key field. I'm wondering if removing the default Update sql would help, since it will never be needed.
Or is this some other sort of multi-user problem I have not anticipated?