Errors when opening model saved in a newer version

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


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. Generally speaking, models saved in a version that has the same beginning four digits is "Schema compatible". For example a model saved in version should be able to open in version

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.


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).
c. If the problem still occurs, the issue may be in the .WTG (water products) or .STSW (storm and sewer products). In this case, try opening the model database file by selecting "database files" from the "files of type" dropdown in the file open dialog and select the model's respective .SQLITE file. 

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