1

Topic: Range Check Error on import

Hi,

I'm trying to import data into an existing survey. I have recently imported into the same survey with no problem. Thinking that it may be a problem with an individual line in the data file I have split it into smaller files but each one fails. The failure is at the validation stage.

The input file is an Excel spreadsheet (.xlsx) but thinking that there may be an odd character in the file I have tried saving it as CSV and then back as Excel with no success.

I've tried importing a different file into a different survey and that gets past the validation stage without error (I didn't complete the entire import though).

I've attached the error log.

I'd appreciate any suggestions as to the problem.

Thanks

Anne
Data officer
ERIC NE

Anne Donnelly
ERIC North East Officer
Email: anne.donnelly@twmuseums.org.uk
www.ericnortheast.org.uk

2

Re: Range Check Error on import

Hi Anne

I can't see the attached error log for some reason. Could you paste the first 200-300 lines into the post?

Thanks
Andy

Andy Foy
Systems Manager
Greenspace Information for Greater London (GiGL) CIC
www.gigl.org.uk

3

Re: Range Check Error on import

Sorry, maybe it didn't upload...

Thanks

Anne

----


date/time         : 2022-05-17, 09:26:57, 560ms
computer name     : LT-PF2KAP65
user name         : 80026
operating system  : Windows NT New x64 build 9200
system language   : English
system up time    : 5 days 22 hours
program up time   : 8 minutes 38 seconds
processors        : 8x Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
physical memory   : 3901/7943 MB (free/total)
free disk space   : (C:) 123.38 GB
display mode      : 1280x720, 32 bit
process id        : $a1c
allocated memory  : 85.81 MB
command line      : RecorderApp.exe /984492
executable        : RecorderApp.exe
exec. date/time   : 2019-12-30 19:12
version           : 6.30.0.291
compiled with     : Delphi 7
madExcept version : 3.0n
callstack crc     : $bea79d68, $d328d13f, $d328d13f
exception number  : 1
exception class   : ERangeError
exception message : Range check error.

main thread ($3548):
009ab757 RecorderApp.exe IWParsers               608  +2 GetNextSeparator
009ab804 RecorderApp.exe IWParsers               627  +1 ReadTerm
009ac22c RecorderApp.exe IWParsers               821 +30 TNameParser.ParseNameField
009ac4de RecorderApp.exe IWParsers               874  +8 TObserverParser.ParseField
009b3a21 RecorderApp.exe IWColumnMappingClasses  803  +4 TColumnType.AddParsedRecords
009a61db RecorderApp.exe IWLargeImportFile      1232 +13 TLargeImportFile.UpdateMultiRecordTableRecord
009a50dd RecorderApp.exe IWLargeImportFile       973 +10 ParseMultiFieldColumns
009a566a RecorderApp.exe IWLargeImportFile      1069 +66 TLargeImportFile.ParseData
009e2b4c RecorderApp.exe FastColumnTypes         202  +5 TfraFastColumnTypes.PrepareTempTables
009e2769 RecorderApp.exe FastColumnTypes          95 +16 TfraFastColumnTypes.btnParseDataClick
004dd310 RecorderApp.exe Controls                        TControl.Click
004d2418 RecorderApp.exe StdCtrls                        TButton.Click
004990bd RecorderApp.exe Buttons                         TBitBtn.Click
004d250c RecorderApp.exe StdCtrls                        TButton.CNCommand
004dd178 RecorderApp.exe Controls                        TControl.WndProc
004e01d7 RecorderApp.exe Controls                        TWinControl.WndProc
004d22dc RecorderApp.exe StdCtrls                        TButtonControl.WndProc
0074a7a9 RecorderApp.exe XPMenu                 2928 +10 TControlSubClass.ControlSubClass
004dcf48 RecorderApp.exe Controls                        TControl.Perform
004e030f RecorderApp.exe Controls                        DoControlMsg
004e0967 RecorderApp.exe Controls                        TWinControl.WMCommand
004dd178 RecorderApp.exe Controls                        TControl.WndProc
004e01d7 RecorderApp.exe Controls                        TWinControl.WndProc
004dfe54 RecorderApp.exe Controls                        TWinControl.MainWndProc
00430c6c RecorderApp.exe Classes                         StdWndProc
76c6586a user32.dll                                      SendMessageW
76c54006 user32.dll                                      CallWindowProcA
004e02bb RecorderApp.exe Controls                        TWinControl.DefaultHandler
004dd718 RecorderApp.exe Controls                        TControl.WMLButtonUp
004dd178 RecorderApp.exe Controls                        TControl.WndProc
004e01d7 RecorderApp.exe Controls                        TWinControl.WndProc
004d22dc RecorderApp.exe StdCtrls                        TButtonControl.WndProc
0074a7a9 RecorderApp.exe XPMenu                 2928 +10 TControlSubClass.ControlSubClass
764ce8a3 oleaut32.dll                                    SysFreeString
004dfe54 RecorderApp.exe Controls                        TWinControl.MainWndProc
00430c6c RecorderApp.exe Classes                         StdWndProc
76c57d1b user32.dll                                      DispatchMessageA
004fe343 RecorderApp.exe Forms                           TApplication.ProcessMessage
004fe37a RecorderApp.exe Forms                           TApplication.HandleMessage
004fe5aa RecorderApp.exe Forms                           TApplication.Run
00ab3932 RecorderApp.exe RecorderApp             418 +79 initialization
761bfa27 KERNEL32.dll                                    BaseThreadInitThunk

thread $1b8c:
76c6c297 user32.dll                MsgWaitForMultipleObjectsEx
76c6c23a user32.dll                MsgWaitForMultipleObjects
00476c1d RecorderApp.exe madExcept CallThreadProcSafe
00476c87 RecorderApp.exe madExcept ThreadExceptFrame
761bfa27 KERNEL32.dll              BaseThreadInitThunk
>> created by main thread ($3548) at:
712464ca gdiplus.dll

thread $96c:
761bfa27 KERNEL32.dll  BaseThreadInitThunk

thread $17e8:
7605b61d KERNELBASE.dll  WaitForMultipleObjectsEx
761bfa27 KERNEL32.dll    BaseThreadInitThunk

thread $4294:
761bfa27 KERNEL32.dll  BaseThreadInitThunk

thread $222c:
761bfa27 KERNEL32.dll  BaseThreadInitThunk

thread $4284:
761bfa27 KERNEL32.dll  BaseThreadInitThunk

thread $2ac0:
761bfa27 KERNEL32.dll  BaseThreadInitThunk

modules:
00400000 RecorderApp.exe                 6.30.0.291          \\apltwm001\Recorder6
00fc0000 MS5User.Dll                     5.0.0.4             \\apltwm001\Recorder6
00ff0000 C4DLL.DLL                       1.0.0.1             \\apltwm001\Recorder6
02b50000 ms5cnv.dll                      5.0.0.10            \\apltwm001\Recorder6
05630000 SQLOLEDB.RLL                    6.2.19041.1         C:\Program Files (x86)\Common Files\System\Ole DB
056a0000 msadcer.dll                     6.2.19041.1         C:\Program Files (x86)\Common Files\System\msadc
05b10000 GoToGridControl.ocx             2.0.0.16            \\apltwm001\Recorder6\Addins
08770000 GoToKey.ocx                     6.0.1.10            \\apltwm001\Recorder6\Addins
08990000 ShowUnchecked.ocx               6.0.0.13            \\apltwm001\Recorder6\Addins
08ba0000 StdValLib.dll                   6.15.1.230          \\apltwm001\Recorder6\Addins
10000000 MS5.Dll                         5.0.0.12            \\apltwm001\Recorder6
46480000 security.dll                    6.2.19041.1         C:\WINDOWS\SYSTEM32
68680000 ncryptsslp.dll                  6.2.19041.546       C:\WINDOWS\system32
686a0000 schannel.dll                    6.2.19041.1645      C:\WINDOWS\System32
68720000 fwpuclnt.dll                    6.2.19041.1526      C:\WINDOWS\System32
69b10000 msxml4.dll                      4.20.9818.0         C:\WINDOWS\System32
69ca0000 mskeyprotect.dll                6.2.19041.1202      C:\WINDOWS\SYSTEM32
6f180000 XmlLite.dll                     6.2.19041.546       C:\WINDOWS\SYSTEM32
6f360000 LINKINFO.dll                    6.2.19041.546       C:\WINDOWS\SYSTEM32
6f370000 Windows.FileExplorer.Common.dll 6.2.19041.1566      C:\Windows\System32
6f3c0000 WININET.dll                     11.0.19041.1566     C:\WINDOWS\SYSTEM32
6f820000 FileSyncShell.dll               21.99.516.3         C:\Program Files (x86)\Microsoft OneDrive\21.099.0516.0003
6f950000 Windows.StateRepositoryPS.dll   6.2.19041.1466      C:\Windows\System32
6f9f0000 Windows.Storage.Search.dll      6.2.19041.746       C:\WINDOWS\system32
6fa90000 msvcp110_win.dll                6.2.19041.546       C:\WINDOWS\SYSTEM32
6fb00000 policymanager.dll               6.2.19041.1620      C:\WINDOWS\SYSTEM32
6fb90000 StructuredQuery.dll             7.0.19041.746       C:\WINDOWS\System32
6fc20000 cscobj.dll                      6.2.19041.746       C:\WINDOWS\System32
6fc60000 ntshrui.dll                     6.2.19041.844       C:\WINDOWS\SYSTEM32
6fcc0000 thumbcache.dll                  6.2.19041.1466      C:\Windows\System32
6fd10000 WindowsCodecs.dll               6.2.19041.1151      C:\WINDOWS\SYSTEM32
6fe90000 edputil.dll                     6.2.19041.546       C:\WINDOWS\SYSTEM32
6feb0000 tiptsf.dll                      6.2.19041.746       C:\Program Files (x86)\Common Files\microsoft shared\ink
6ff40000 dwmapi.dll                      6.2.19041.746       C:\WINDOWS\SYSTEM32
6ff70000 twinapi.appcore.dll             6.2.19041.746       C:\WINDOWS\system32
70100000 dxgi.dll                        6.2.19041.1566      C:\WINDOWS\system32
701d0000 dcomp.dll                       6.2.19041.1566      C:\WINDOWS\system32
70340000 d3d11.dll                       6.2.19041.1620      C:\WINDOWS\system32
70520000 dataexchange.dll                6.2.19041.1387      C:\WINDOWS\system32
70560000 msls31.dll                      3.10.349.0          C:\WINDOWS\SYSTEM32
705a0000 USP10.dll                       6.2.19041.546       C:\WINDOWS\SYSTEM32
705c0000 RICHED20.dll                    5.31.23.1231        C:\WINDOWS\SYSTEM32
70640000 RICHED32.DLL                    6.2.19041.1         C:\WINDOWS\SYSTEM32
70650000 msadce.dll                      6.2.19041.746       C:\Program Files (x86)\Common Files\System\msadc
706f0000 DSPARSE.DLL                     6.2.19041.546       C:\WINDOWS\SYSTEM32
70700000 ntdsapi.dll                     6.2.19041.546       C:\WINDOWS\SYSTEM32
70720000 NtlmShared.dll                  6.2.19041.1         C:\WINDOWS\SYSTEM32
70730000 msv1_0.DLL                      6.2.19041.1469      C:\WINDOWS\System32
707b0000 sqloledb.dll                    6.2.19041.1         C:\Program Files (x86)\Common Files\System\Ole DB
70870000 comsvcs.dll                     2001.12.10941.16384 C:\Windows\System32
709d0000 Comctl32.dll                    6.10.19041.1110     C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_a8625c1886757984
70be0000 oledb32.dll                     6.2.19041.746       C:\Program Files (x86)\Common Files\System\Ole DB
70cb0000 MSDART.DLL                      6.2.19041.1         C:\WINDOWS\SYSTEM32
70ce0000 msado15.dll                     6.2.19041.746       C:\Program Files (x86)\Common Files\System\ado
70df0000 iertutil.dll                    11.0.19041.1586     C:\Windows\System32
71020000 urlmon.dll                      11.0.19041.1566     C:\Windows\System32
711d0000 gdiplus.dll                     6.2.19041.1645      C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.19041.1645_none_d94fdd3fe105c111
71450000 DBNETLIB.DLL                    6.2.19041.844       C:\WINDOWS\SYSTEM32
71470000 odbc32.dll                      6.2.19041.1503      C:\WINDOWS\SYSTEM32
71510000 HHCtrl.ocx                      6.2.19041.746       C:\WINDOWS\SYSTEM32
715b0000 winspool.drv                    6.2.19041.1566      C:\WINDOWS\SYSTEM32
71630000 wintypes.dll                    6.2.19041.1348      C:\WINDOWS\SYSTEM32
71710000 CoreMessaging.dll               6.2.19041.867       C:\WINDOWS\System32
717b0000 CoreUIComponents.dll            6.2.19041.546       C:\WINDOWS\System32
71a30000 textinputframework.dll          6.2.19041.1503      C:\WINDOWS\SYSTEM32
71af0000 TextShaping.dll                                     C:\WINDOWS\SYSTEM32
71b90000 mpr.dll                         6.2.19041.1566      C:\WINDOWS\SYSTEM32
71bb0000 NetworkExplorer.dll             6.2.19041.1         C:\WINDOWS\system32
71bd0000 apphelp.dll                     6.2.19041.1320      C:\WINDOWS\SYSTEM32
71c70000 MSDATL3.dll                     6.2.19041.1         C:\Program Files (x86)\Common Files\System\Ole DB
71c90000 olepro32.dll                    6.2.19041.84        C:\WINDOWS\SYSTEM32
71cb0000 DPAPI.DLL                       6.2.19041.546       C:\WINDOWS\SYSTEM32
71cc0000 netbios.dll                     6.2.19041.1         C:\WINDOWS\SYSTEM32
71cd0000 SHFolder.dll                    6.2.19041.1         C:\WINDOWS\SYSTEM32
71ce0000 uxtheme.dll                     6.2.19041.1620      C:\WINDOWS\system32
71d60000 PROPSYS.dll                     7.0.19041.1023      C:\WINDOWS\system32
72230000 cryptdll.dll                    6.2.19041.546       C:\WINDOWS\SYSTEM32
72350000 mlang.dll                       6.2.19041.746       C:\WINDOWS\system32
726b0000 srvcli.dll                      6.2.19041.1645      C:\Windows\System32
72760000 wsock32.dll                     6.2.19041.1         C:\WINDOWS\SYSTEM32
72770000 comctl32.dll                    5.82.19041.1110     C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.1110_none_c0da534e38c01f4d
72800000 cscapi.dll                      6.2.19041.546       C:\WINDOWS\SYSTEM32
72810000 DAVHLPR.dll                     6.2.19041.546       C:\WINDOWS\System32
72820000 davclnt.dll                     6.2.19041.546       C:\WINDOWS\System32
72840000 ntlanman.dll                    6.2.19041.1566      C:\WINDOWS\System32
72860000 drprov.dll                      6.2.19041.546       C:\WINDOWS\System32
72920000 NTASN1.dll                      6.2.19041.546       C:\WINDOWS\SYSTEM32
72950000 ncrypt.dll                      6.2.19041.546       C:\WINDOWS\SYSTEM32
72e50000 rasadhlp.dll                    6.2.19041.546       C:\Windows\System32
73220000 mswsock.dll                     6.2.19041.546       C:\WINDOWS\system32
73280000 DNSAPI.dll                      6.2.19041.1620      C:\WINDOWS\SYSTEM32
73340000 wkscli.dll                      6.2.19041.1645      C:\WINDOWS\System32
73380000 SECUR32.DLL                     6.2.19041.546       C:\WINDOWS\SYSTEM32
73390000 winmm.dll                       6.2.19041.546       C:\WINDOWS\SYSTEM32
73ea0000 SSPICLI.DLL                     6.2.19041.1586      C:\WINDOWS\SYSTEM32
74190000 IPHLPAPI.DLL                    6.2.19041.546       C:\WINDOWS\SYSTEM32
74470000 version.dll                     6.2.19041.546       C:\WINDOWS\SYSTEM32
74560000 netutils.dll                    6.2.19041.1466      C:\Windows\System32
74570000 NETAPI32.dll                    6.2.19041.1645      C:\WINDOWS\SYSTEM32
74d70000 sxs.dll                         6.2.19041.546       C:\WINDOWS\SYSTEM32
74e20000 ntmarta.dll                     6.2.19041.546       C:\WINDOWS\SYSTEM32
74ef0000 CRYPTBASE.dll                   6.2.19041.546       C:\WINDOWS\SYSTEM32
74f50000 WINSTA.dll                      6.2.19041.546       C:\WINDOWS\System32
74fa0000 WTSAPI32.dll                    6.2.19041.546       C:\WINDOWS\System32
75040000 kernel.appcore.dll              6.2.19041.546       C:\WINDOWS\SYSTEM32
75050000 USERENV.dll                     6.2.19041.572       C:\WINDOWS\System32
75080000 profapi.dll                     6.2.19041.844       C:\WINDOWS\SYSTEM32
750a0000 Wldp.dll                        6.2.19041.1566      C:\WINDOWS\SYSTEM32
750d0000 windows.storage.dll             6.2.19041.1566      C:\WINDOWS\SYSTEM32
759a0000 hmpalert.dll                    3.8.3.808           C:\Windows\System32
75ab0000 NSI.dll                         6.2.19041.610       C:\WINDOWS\System32
75ac0000 SHLWAPI.dll                     6.2.19041.1023      C:\WINDOWS\System32
75b10000 CFGMGR32.dll                    6.2.19041.1620      C:\WINDOWS\System32
75d40000 WS2_32.dll                      6.2.19041.546       C:\WINDOWS\System32
75db0000 win32u.dll                      6.2.19041.1645      C:\WINDOWS\System32
75dd0000 MSCTF.dll                       6.2.19041.1620      C:\WINDOWS\System32
75eb0000 shcore.dll                      6.2.19041.1645      C:\WINDOWS\System32
75f40000 KERNELBASE.dll                  6.2.19041.1645      C:\WINDOWS\System32
76170000 GDI32.dll                       6.2.19041.1620      C:\WINDOWS\System32
761a0000 KERNEL32.dll                    6.2.19041.1645      C:\WINDOWS\System32
76290000 coml2.dll                       6.2.19041.546       C:\WINDOWS\System32
762f0000 clbcatq.dll                     2001.12.10941.16384 C:\WINDOWS\System32
76380000 msvcp_win.dll                   6.2.19041.789       C:\WINDOWS\System32
76400000 comdlg32.dll                    6.2.19041.1566      C:\WINDOWS\System32
764b0000 oleaut32.dll                    6.2.19041.985       C:\WINDOWS\System32
76550000 bcryptPrimitives.dll            6.2.19041.1415      C:\WINDOWS\System32
765b0000 msvcrt.dll                      7.0.19041.546       C:\WINDOWS\System32
76670000 shell32.dll                     6.2.19041.1566      C:\WINDOWS\System32
76c30000 user32.dll                      6.2.19041.1645      C:\WINDOWS\System32
76dd0000 combase.dll                     6.2.19041.1566      C:\WINDOWS\System32
77050000 IMM32.DLL                       6.2.19041.546       C:\WINDOWS\System32
77080000 bcrypt.dll                      6.2.19041.1023      C:\WINDOWS\System32
770a0000 advapi32.dll                    6.2.19041.1466      C:\WINDOWS\System32
77120000 ole32.dll                       6.2.19041.1202      C:\WINDOWS\System32
77210000 CRYPT32.dll                     6.2.19041.1320      C:\WINDOWS\System32
77310000 sechost.dll                     6.2.19041.1586      C:\WINDOWS\System32
77860000 RPCRT4.dll                      6.2.19041.1645      C:\WINDOWS\System32
77920000 ucrtbase.dll                    6.2.19041.789       C:\WINDOWS\System32
77aa0000 gdi32full.dll                   6.2.19041.1645      C:\WINDOWS\System32
77be0000 ntdll.dll                       6.2.19041.1566      C:\WINDOWS\SYSTEM32

Anne Donnelly
ERIC North East Officer
Email: anne.donnelly@twmuseums.org.uk
www.ericnortheast.org.uk

4

Re: Range Check Error on import

Hi Anne

The error suggests there is something wrong with the format in one or more of the recorder/determiner name fields. I'm not sure what variations the import wizard can cope with in the name fields, but it could be something as simple as a trailing comma or semi-colon, names referring to two or more people causing problems (e.g. Smith, A & Mrs B), etc. If you are happy to upload the file, or at least the recorder/determiner columns, I'd be happy to take a look (or email it to me directly).

Cheers
Andy

Andy Foy
Systems Manager
Greenspace Information for Greater London (GiGL) CIC
www.gigl.org.uk

5

Re: Range Check Error on import

Hi Andy,

Thanks for looking at that. Is it the line "009ac22c RecorderApp.exe IWParsers               821 +30 TNameParser.ParseNameField" that indicates the Recorder/determiner error? - that'd give me an idea what to look for the next time we have similar errors.

I'll take a look at the relevant fields. It's an iRecord download and when I split the file into chunks I did it by species so that will mean the same recorder/determiner are featured in each chunk and hence all the files failing. If I can't figure it out I'll send some data.

Thanks

Anne

Anne Donnelly
ERIC North East Officer
Email: anne.donnelly@twmuseums.org.uk
www.ericnortheast.org.uk

6

Re: Range Check Error on import

I just had the same problem and as far as I can tell, I can confirm that the place to look for the field(s) that contain the invalid formats is as Anne suggested: Call Stacks tab in the bug report > lines relating to IWParsers. In my case it was the Abundance Data field.

Alex Waechter
Herts Environmental Records Centre Manager
alex.waechter@hercinfo.org.uk