Customer Portal

Problem with duplicated keys while inserting in database

Comments 3

  • Avatar
    avackova
    0
    Comment actions Permalink
    What is in error message?
  • Avatar
    acq
    0
    Comment actions Permalink
    The error message is the standard database error for duplicated keys:
    "Violation of PRIMARY KEY constraint 'PK_test'. Cannot insert duplicate key in object 'dbo.test'."
    The matter is that I got the same message also for correct records, which are not inserted in database.
    It seems that after first error, every record looks like duplicated.
    Thanks
  • Avatar
    avackova
    0
    Comment actions Permalink
    Pls check you database table definition. I can't replicate your problem (I have only one record rejected).

Please sign in to leave a comment.