We are running into an issue on the latest release of OpenPDC when we try to add a new concentrator input device via the input device wizard. When we get to the last step of Selecting Devices to Configure, when we click finish, we get the following error:
Violation of UNIQUE KEY constraint ‘UK_UniqueID’. Cannot insert duplicate key in object ‘dbo.Device’. The duplicate key value is (00000000-0000-0000-0000-000000000001).
The statement has been terminated.
It seems like it is trying to add the devices with the same unique ID for every device. My workaround was to delete the UniqueId constraint, let the wizard add the devices with the same UniqueID, and create new UUIDs for the records. After that, I added the constraint back in.
Is this a known issue? Has anyone else run into this?