Error importing old model file: "Object reference not set to an instance of an object"

  Product(s): WaterGEMS, WaterCAD, HAMMER, SewerGEMS, SewerCAD, StormCAD, CivilStorm
  Version(s): 08.11.xx.xx and 10.XX.XX.XX
  Area: Modeling

Problem

When importing a WaterCAD V7 database file into WaterCAD or WaterGEMS V8i, the following error message is generated: 

"Object reference not set to an instance of an object" 

or

"The path provided is not a WaterCAD V7 file"

Solution

Option 1 - Use a backup model

The database associated with the model could have become corrupted. If you have a backup file or an older version of the model file, try to open this instead.

See: Can I restore a backup file of my model project or software component?

Option 2 - Compact the .MDB database in Microsoft Access

Issues with a .MDB database file can sometimes be corrected by compacting that file in Microsoft Access. If the file opens in Microsoft Access, then try to compact the database. If the file will not open in Access, the file is corrupted and cannot be used. You can try to recreate the file in WaterCAD or WaterGEMS V8i. If you have a source file for the model, such as a Shapefile, ModelBuilder is a good tool for this.

See:

Option 3 - Upgrade

It may help to download and install the latest version of the product and patch set.

See:

[Defect Reference # 803172]

See Also

Converting older WaterCAD/WaterGEMS files into WaterCAD/WaterGEMS V8i format and saving presentation settings

Anonymous
Recommended
Related