Error importing InRoads file: "Item has already been added" "Index was out of range"

  Product(s): StormCAD, CivilStorm, SewerGEMS, SewerCAD
  Version(s): 10.00.00.40 and earlier
  Environment: N\A
  Area: Data Input/Model Creation

Problem

The following error message is generated when trying to import an InRoads SDB file into a storm/sewer product:

  1. "Item has already been added. Key in dictionary: 'DUMMY INLET' Key being added: 'DUMMY INLET'".
  2. "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"

Solution

  1. This issue has been resolved in a patch for version 10.00.00.40, and fixed in version 10.00.00.45 and later of storm/sewer products. It is recommended that you download the latest build of the storm/sewer products. This link has instructions on downloading the products. 
  2. This may occur if the Inroads network has one or more instances of a pipe with two upstream pipes coming into it, but with the upstream node not set to "Y_JUNC". Correct this and the file should import.

See Also

Opening an InRoads Storm and Sanitary drainage database in Storm/Sewer products

Setting units for data import and export (LandXML, Inroads, etc) 

Recommended
Related