Difference between revisions of "OLI Flowsheet - Unspecified Run-time error"

From wiki.olisystems.com
Jump to: navigation, search
 
Line 8: Line 8:
  
 
# Download the zip file
 
# Download the zip file
# Extract both text files to a folder
+
# Extract EXE files to a folder
# Change the name of the file for your version from "TXT" to "BAT" (this can be done by renaming the file and stripping off the ".txt" file extension).
+
# You can then run the EXE file by double-clicking.  If a compatibility flag error is found you can now fix it.
# You can then run the bat file from a command prompt with "Run As Administrator" 
 
  
[[Media:FixFS.zip | Fix Flowsheet batch files]]
+
[[File:Compatibility Flag Image.jpg]]
 +
 
 +
[[Media:OLIFixAppCompatFlags.zip | Download Fix Error]]
  
Here is a video describing the fix
 
  
{{#ev:youtube|dZBFJJoUo8g}}
 
  
  
 
[[Category: Error messages]]
 
[[Category: Error messages]]
 
[[Category: OLI Flowsheet]]
 
[[Category: OLI Flowsheet]]

Latest revision as of 18:04, 6 January 2023

Sometimes when you run OLI Flowsheet for the second time, you will receive the following error:

2021-08-26-1.png

This error occurs because, during the installation of OLI Flowsheet, Microsoft Windows doesn't think it is compatible with Windows 10 or later. A flag is set in the registry to force compatibility. This is unnecessary because OLI Flowsheet is compatible with Windows 10. A DLL is not properly unloaded between calculations and thus causes the error.

There is a complicated fix for both version 10 and version 11 of OLI Flowsheet.

  1. Download the zip file
  2. Extract EXE files to a folder
  3. You can then run the EXE file by double-clicking. If a compatibility flag error is found you can now fix it.

Compatibility Flag Image.jpg

Download Fix Error