This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EngineAdapter FileNotFoundException problem

Im trying to run a simple hydraulic analysis from waterobjects.net by using the sample of PressureEngineRunner with example file Net1.inp which is provided with waterobjects.net .

I saw the form, select the appropriate file (which is provided in the sample directory) and press the button “Run”.

Everything looks OK but while initiating the EngineAdapter , an exception occurs that the details of it are shown below;

   

System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

at Haestad.Calculations.Pressure.NumericalEngine.EngineAdapter..ctor()

at WaterObjects.NET.PressureEngineRunner.PressureEngineRunnerForm.buttonRun_Click(Object sender, EventArgs e) in C:\Program Files (x86)\Bentley\WaterObjects.NET\WaterObjects.NET.PressureEngineRunner\Development\WaterObjects.NET.PressureEngineRunner\PressureEngineRunnerForm.cs:line 322

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Could you please help me on the issue?

And could you please tell me the possible causes of corresponding exception.

Thanks in advance.

Versions:

MS Office: Office 365

WaterGEMS version : 10.01.01.04

WaterObjects.net version : 08.11.06.01

Visual Studio Community version : 2019