First attempt to Parse 4010 837P resulted in error

Sep 10, 2013 at 5:38 PM
From the documentation, it sounded like if I pointed OopFactory.X12.ImportX12.exe.config to an empty database, the application would create the necessary database objects. However, when I attempt to do this I get the following error, and no database objects are created.

OopFactory.X12.ImportX12.exe Error: 0 : Error parsing C:\Temp\Inbound\201202171907128.txt: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at OopFactory.X12.Parsing.Model.HierarchicalLoopContainer.AddHLoop(String segmentString)
at OopFactory.X12.Parsing.X12Parser.ParseMultiple(Stream stream, Encoding encoding)
at OopFactory.X12.ImportX12.Program.Main(String[] args)
Sep 10, 2013 at 5:49 PM
This appears to be my own fault, as I tried to parse a file with a bunch of HL segment errors.
Sep 10, 2013 at 9:47 PM
It is possible that what you are working with is a test file and not a production file.
All segments that start with HL* have an ID as the first element and those IDs need to be unique within the file.
This is used to point to other HL segments in the files, and unfortunately if the IDs are duplicated in the file the parser has no way to resolve any references to that ID.