Errors when opening model saved in a newer version

Product(s): WaterGEMS, WaterCAD, HAMMER, SewerGEMS, SewerCAD, StormCAD, CivilStorm
Version(s): CONNECT Edition, V8i
Area: Modeling


When attempting to open a model saved in a newer version (such as one obtained from another organization), one of the following errors occurs:

'Unsupported dataset type schema'

'Object Reference not set to an instance of an object'

'Unexpected Numeric Presentation Formatter'

'Expecting: Numeric Formatter or Station Formatter'

"The model you are trying to open was saved in a newer version and cannot be opened in this version."


The following is a list of potential causes and solutions to the above errors

1. The model being opened was last saved in a newer version of the product.

If the model was last saved using a newer version of the product that is trying to open it, then it will not open. Complete the following steps to determine if this is the cause.

a. Determine the version of the product attempting to open the model.
b. Find the version of the product that was last used to save the model.


  • As explained in this article, a model cannot be saved 'down' and most versions are not forward compatible. For example, if you've created and saved a model in WaterGEMS V8i SELECTSeries 6, a user with an earlier version of will not be able to open it. That article also explains workarounds, such as exporting to EPANET, EPA SWMM, LandXML, Shapefiles.
  • This article explains how to download Bentley Hydraulics and Hydrology Software
  • More recent versions will detect models saved in a newer version and display a more informative message:

    "The model you are trying to open was saved in a newer version and cannot be opened in this version."

2. An issue with a supporting file (eg. .dxf, .out)

Try the following to determine if this is the cause:

a. Copy the model file (.stsw or .wtg) and database file (.mdb or .sqlite) to a new folder.
b. Try to open the model from the new location (without using the supporting files).

Note: On rare occasions, the file that stores the background files for the model, the .dwh file, can become corrupted. When this occurs, the error message above has been known to occur. After steps 2a and 2b are completed a new .dwh file will be generated and the background files will need to be reattached in the model.

3. Faulty video card driver

When the following error text appears, it indicates that the issue is most likely related to a faulty video card driver.

NullReferenceException Details
System.NullReferenceException: Object reference not set to an instance of an object.
at Haestad.Drawing.Windows.Forms.Components.GLDrawingControl.DrawingToolManager_ToolChanged(Object aobject, ToolChangedEventArgs e)
at Haestad.Drawing.Tools.ToolChangedEventHandler.Invoke(Objectaobject, ToolChangedEventArgs e)
at Haestad.Drawing.Tools.DrawingToolManager.OnToolChanged()
at Haestad.Drawing.Tools.DrawingToolManager.set_CurrentTool(IDrawingToolvalue)
at Haestad.Drawing.Control.Forms.GraphicalDrawingParentForm.UseLayoutTool(ButtonItem abaritem)
at Haestad.Drawing.Control.Forms.GraphicalDrawingParentForm.UseLayoutTool(MenuButtonItem abarItem)
at Haestad.Drawing.Control.Forms.GraphicalDrawingParentForm.menuButtonItemDrawingElement_Activate(Object sender, EventArgse)

Try downloading and installing the latest video card driver from the manufacturer's website. This process is explained in detail in this article.

See Also

Can a model be saved down or back to an older version?

How to find the version a model was created in and last saved in?

How can I find my registration / license information and version / build number for my Hydraulics and Hydrology products?

Downloading OpenFlows / Hydraulics and Hydrology Software

Updating video drivers and troubleshooting video hardware issues

Error opening old model file: Database format not recognized or read-only