Dear Bentley,
I'm new to WO.net and I am trying to understand it by running the provided samples. However, when I run the ResultsRangeFinder sample, after selecting the .sqlite file in the pop-up window, there is an error.
System.TypeLoadException HResult=0x80131522 Message=Method 'get_LogConnection' in type 'Haestad.Domain.DataObjects.Log.NullChangeLogDatabase' from assembly 'Haestad.Domain.DataObjects, Version=10.3.5.30, Culture=neutral, PublicKeyToken=b4db808388021f6e' does not have an implementation. Source=<Cannot evaluate the exception source> StackTrace:<Cannot evaluate the exception stack trace>
Errors occur in other samples as well,
In DomainReporter, same error
In PressureEngineRunner, the error is similar
I follow the instructions provided on Sample Guide and not sure if I miss anything. Would someone help me on this?
My WO.net version is the most recent, 10.00.00.02. WaterGEMS and Hammer are updated, x64.
BTW, the error in ResultsRangeFinder sample did not occur when I first run it, I can select the scenario, element type, etc. in the pop up window, and there was another error 'Unable to open the HAMMER result file.' when I try to load a .sqlite file saved by Hammer and select Hammer Numeric Engine. But right now I am stuck on selecting the file, as described in the first paragraph.
Thanks,
Shiqing
Hi Shiqing,
Make sure you have a reference to Haestad.Support.OOP.dll and Haestad.Support.OOP.Data.dll added to your project.
If it still does not work for you, please reply here.
Kris CulinSenior Software DeveloperWater InfrastructureBentley SoftwareBentley Systems, Inc.
Answer Verified By: Jesse Dringoli
It works. Thank you so much.