Re: Report Wizard Error - duplicate key
Hi
In the process of upgrading from R2002 to R6. The database appears to have transferred successfully, but on running Report Wizard - Report about a place I get an error about a duplicate key as follows:
Exception occurred in application Recorder 6 at 10/01/2008 10:11:26.
Version : 6.10.4.120
Exception path:
EOleException : CREATE UNIQUE INDEX terminated because a duplicate key was found for index ID 1. Most significant primary key is 'DSS0004600002WDV'
TExceptionPath : An error occurred executing the following SQL:
CREATE UNIQUE CLUSTERED INDEX IX_OCCURRENCE_KEY ON "#REPORT_OUTPUT" (OCCURRENCE_KEY, [TYPE])
Last event\actions:
actReportWizard invoked
TfrmFilterResult created
TfrmFilterResult activated
TdlgWizard created
Operating System : Windows XP 5.01.2600 Service Pack 2
Physical Memory available : 1,039,724 KB
DLLs loaded:
advapi32.dll (5.1.2600.2180)
comctl32.dll (5.82.2900.2180)
comdlg32.dll (6.0.2900.2180)
gdi32.dll (5.1.2600.2180)
HHCtrl.ocx (5.2.3790.1194)
kernel32.dll (5.1.2600.2180)
mpr.dll (5.1.2600.2180)
MS5.Dll (5.0.0.12)
MS5User.Dll (5.0.0.4)
odbc32.dll (3.525.1117.0)
ole32.dll (5.1.2600.2180)
oleaut32.dll (5.1.2600.2180)
shell32.dll (6.0.2900.2180)
user32.dll (5.1.2600.2180)
version.dll (5.1.2600.2180)
winmm.dll (5.1.2600.2180)
winspool.drv (5.1.2600.2180)
Information has been saved to the file Q:\LastError.txt
I have tried with a few different locations and those I believe to have more records have failed with this error message, with different values for the 'Most significant primary key'. The largest number of records to have succeeded so far is under 500.
Can anyone help to shed any light on this.
Thanks
Gordon
Biological Survey Data Manager
National Trust