Re: Import error - Violation of PRIMARY KEY
Hi all,
I've struggled all morning to import a batch of 50k records via ADO Connection. Firstly, the import failed if I created new "Names and Addresses" on-the-fly" and NOT allowing Recorder to create a new entry, then when it eventually gets through the matching process it failed with:
Exception path:
EOleException : Violation of PRIMARY KEY constraint 'PK__#RN_Survey_Event__32669E04'. Cannot insert duplicate key in object 'dbo.#RN_Survey_Event_Recorder'
Is this likely to do with me adding a new name entry manually??
The subsequent attempt failed with:
Exception path:
EAccessViolation : Access violation at address 006A8F4E in module 'RecorderApp.exe'. Read of address 0000005C
I'm assuming this is related somewhere along the line with the EOleException above.
Anyone come across this before?
Best wishes,
Les.
Senior Data Officer, National Moth Recording Scheme