"Specified method is not supported" error in model with saved SWMM results from an older version

Product(s): SewerGEMS, CivilStorm
Version(s): 10.00.00.45, 10.01.00.70
Area: Output and Reporting

Problem

When opening a model saved in an older version with results files, if the model uses the Explicit (SWMM) solver, the following error can occur. This may happen when attempting to look at element properties, flextables, graphs, etc. For example clicking on a catchment.

System.NotSupportedException: Specified method is not supported.

at Haestad.CivilStorm.Calculations.SWMM5.Domain.SwmmNetworkMapReaderWriter.CheckHeader(BinaryReader br)
at Haestad.CivilStorm.Calculations.SWMM5.Domain.SwmmNetworkMapReaderWriter.ReadMapFile(String mapFileName, IDictionary& nodeMap, IDictionary& linkMap, IDictionary& catchmentMap, IDictionary& elementCodes)
at Haestad.CivilStorm.Calculations.SWMM5.Domain.SWMMResultDataConnection.LoadMapFile(Int32 scenarioId)
at Haestad.CivilStorm.Calculations.SWMM5.Domain.SWMMResultDataConnection.IsMappedNode(Int32 elementId, Int32 scenarioID)
at Haestad.CivilStorm.Calculations.SWMM5.Domain.SWMMFlowOutResultsRecordDataBroker.GetValuesOverTime(Int32 elementID, Int32 scenarioID, String fieldTypeName)
at Haestad.Domain.ModelingObjects.ResultTimeVariantUnitizedFieldBase.GetValuesOverTimeImpl(Int32 elementID, Int32 scenarioID)
at Haestad.StormSewerProduct.Adapting.Graphing.StormSewerProductResultGraphFieldDefinition.GetValuesImpl(IGraphSeriesModel graphSeriesModel)
at Haestad.Framework.Adapting.UnitizedGraphFieldDefinitionBase.GetValues(IGraphSeriesModel graphSeriesModel)

Solution

This can happen when trying to read results from output files saved in an older version of the software.

Solutions:

1) Delete the output files and reopen the model. Alternatively, copy only the .STSW and .STSW.SQLITE files to a new folder on your local hard drive and reopen from there, then re-compute.

2) Apply the latest cumulative patch set for version 10.00.00.45 or 10.01.00.70. Or, when a newer version than 10.01.00.70 is available, upgrade. Reference # 774901 and 770100

See Also

Downloading OpenFlows | Hydraulics and Hydrology Software

Anonymous
Recommended
Related