Hi Grimm, Tim,
The duplicated value problem happened to me once. Mine also failed to clear the database down first with the following error:
DeleteExistingData: System.IO.IOException: The process cannot access the file 'D:\Plan-G Files\Data\PlanG3_XPX.sdf' because it is being used by another process.
Turns out the other process was a previously started version of Plan-G that was still holing on in the background. It could be seen in task manager, but had moved down from Apps to background processes (in Windows 10 task manager that is) whilst it was trying to close down.
Once I'd terminated this instance with end task and started Plan-G again, all was well and it cleared the DB down the next time.
Just a one off.
The duplicated value problem happened to me once. Mine also failed to clear the database down first with the following error:
DeleteExistingData: System.IO.IOException: The process cannot access the file 'D:\Plan-G Files\Data\PlanG3_XPX.sdf' because it is being used by another process.
Turns out the other process was a previously started version of Plan-G that was still holing on in the background. It could be seen in task manager, but had moved down from Apps to background processes (in Windows 10 task manager that is) whilst it was trying to close down.
Once I'd terminated this instance with end task and started Plan-G again, all was well and it cleared the DB down the next time.
Just a one off.