HEC-RAS Engine Loading Error

This article describes how to fix the HEC-RAS analysis engine loading error when launching the GeoHECRAS software.

While GeoHECRAS is starting up, it checks to see if everything is properly installed and functioning. Part of that startup check is to make certain that the HEC-RAS controller and analysis engine DLLs are registered for use with GeoHECRAS. If not, the software will display the following error message.

HEC-RAS Engine Loading Error

Sometimes installing other software or other versions of HEC-RAS can cause Microsoft Windows registry entries for the HEC-RAS controller and analysis engine DLLs to be changed so that GeoHECRAS cannot access them.

The following methods can be used to resolve this issue.

Method 1 – Update HEC-RAS Registry Entries

This method uses a batch file to update the HEC-RAS registry entries so that GeoHECRAS can load the HEC-RAS controller and analysis engine DLLs.

  1. Exit GeoHECRAS if it is running.
  2. Download the file HECReg.txt from here. (To download the file, right click on the text “here” and then select Save link as… from the context menu options.)
  3. Start Windows Explorer and navigate to where the file has been saved to.
  4. Rename the downloaded HECReg.txt file to HECReg.bat.
  5. Right click on the HECReg.bat file and select Run as administrator from the context menu options.
    Run as Administrator
  6. User Account Control message box will be displayed.
    Allow to Make Changes
  7. Click on the Yes button.
  8. The batch file will update the registry entries and then quit.

Method 2 – Reinstall GeoHECRAS

If Method 1 did not work, then uninstall and reinstall GeoHECRAS. This should correct the issue.

Method 3 – Forceful Reinstall GeoHECRAS

In certain conditions, a simple reinstall of GeoHECRAS will not correct the issue. In this situation, a forceful reinstall of the software will correct the issue.

  1. Uninstall GeoHECRAS.
  2. Click on the Windows Start button to display the Windows Start menu.
  3. Open the Run dialog box and type CMD. Then click on the [OK] button. A command window will be displayed.
  4. Type the following at the command prompt (as a single line of text): reg delete “HKEY_CURRENT_USER\Software\VB and VBA Program Settings\C:\Program Files (x86)\CivilGEO” /fCommand Prompt
  5. Press the Enter key.
  6. The command prompt should display the message The operation completed successfully.
    Command Prompt
  7. Close the command window and reinstall GeoHECRAS.

Method 4 – Contact Technical Support

If the previous methods did not work or you want assistance, please contact our technical support. A team member will gladly assist you by logging on to your computer remotely and performing the necessary steps to correct the issue.

About the Author Chris Maeder

Related Articles