Issues when Installing, Launching, or Opening Files

The ExtendSim installer includes DLLs that need to be registered in the Windows Registry during installation. These error messages indicate that the Windows operating system or your security system is blocking the ExtendSim installer from registering the DLLs.

Right-click the ExtendSim installer and select Run as Administrator. Or contact your IT or Admin and have them install ExtendSim to your user account with the correct Admin permissions (once that happens, it won’t be required again).

If that doesn’t fix the problem, try temporarily disabling your virus protection software while installing ExtendSim.


Installation issue with DLLs

ComponentTransferData error message

The installer for ExtendSim installs DLLs that need to be registered in the Windows Registry during installation. Some security systems could therefore incorrectly identify ExtendSim as potential malware and stop it from launching, even though ExtendSim is digitally signed. To overcome this, try temporarily disabling your virus protection software while installing ExtendSim.

This error message only occurs when attempting to install a Floating or ASP license.

If you get this error message, it means either:

The ISV port is blocked. You must either unblock the port or use a different port for the ISV.

The License Manager on the Server has either been moved or has not been installed and activated correctly.

Please see the document Frequently Asked Questions • Floating Licenses to remedy this situation.

The installer for the License Manager not only creates the Service but tries to start it running automatically. Security systems will sometimes block the service from starting.

For automatic activation of the License Manager, encrypted data must be exchanged through port 80 over the internet. Security systems sometimes block that communication, so you must do a manual activation.

The ISV port must be unblocked or you will get a Connection refused at Server message when you launch ExtendSim.

The Floating License of ExtendSim is typically installed in an environment where the Client device is used by only one person. This works well for academic institutions where students and professors install ExtendSim on their own computers (the Clients), such that it can be used on the network or checked out (roaming) for up to 30 days.

However, if ExtendSim is installed in a lab environment where multiple people log in to use the same computer, the user-modifiable files (example models, libraries, etc.) must be installed to a location that all the students can access. To do that:

As you install on each multi-user computer, when you get to the installer’s Installing User Documents section, select a location on the target machine that the students will have read/write access to. For example, you might select "C:\" as the Destination Folder when you are at the Installing User Documents section. This will install user-modifiable files at the root of the C drive.

When you activate ExtendSim, copy the license file (extendsim.lic) to the folder selected in the User Documents section of the installer. In the example, this would be C:\ExtendSim10

Give the Users group full (not just read/write) access to the folder that has the user-modifiable files.

Note: at the end of their sessions, students should save their models (.mox) files to locations where other users won't interfere with and/or copy their work. However, they should use a local copy while doing work. Models will run slowly if they reside on an external drive or in the cloud.

In addition to any installed virus protection apps, Windows 10 installs with a Windows Defender Security Center that has virus, threat, account, firewall, and network protection. So even if you have temporarily disabled your virus protection app, the Security Center could be blocking the installation or launching of ExtendSim. You may need to change the settings or set the ExtendSim installer to be excluded in the Windows Defender Security Center. Be especially aware of those settings if you are attempting to install ExtendSim on virtual machines using Windows 10.

Data Execution Prevention (DEP) is a Windows security feature that can help prevent damage to your computer from viruses and other security threats. It does this by stopping the execution of potentially malicious code from the DATA segments of memory.

The ExtendSim application has an integrated compiler, so it creates and executes compiled code from the DATA segments of memory when it runs. Depending on how it is set, DEP can interpret this as malicious data, rather than legitimate code, and stop ExtendSim from properly launching (by giving an Unknown msg error) or prevent it from accepting a block in a new model (by giving an Unknown block message).

To access DEP:

Go to the System & Security or Maintenance in Windows Settings

Click System, then go to Advanced System Settings

Under Performance, click the Settings button and select the Data Execution Prevention tab.

Since many legitimate applications execute code in the DATA segments of memory, Windows has two methods for allowing applications to be exempt from DEP restrictions:

bulletgoldThe default setting for DEP is "Turn on DEP for essential Windows Programs only." If DEP is in this mode, ExtendSim will run properly.

The higher security setting for DEP is "Turn on DEP for all programs and services except those I select." If DEP is in this mode, it will interpret ExtendSim as being a potential threat and prevent ExtendSim from properly running unless ExtendSim is added to the list of exempted programs. To add ExtendSim to the list of programs that allow Data Execution, find the DEP dialog and add ExtendSim.

By default, ExtendSim opens the Getting Started model when it launches. That model uses the RightClickConnect database, which calls the ExtendSim_DB_Connector DLL. The installer for ExtendSim needs to register that DLL in the Windows Registry during installation. The error message indicates that your system has blocked the ExtendSim installer from registering the DLL.

Right-click the ExtendSim application and select Run as Administrator. Or contact your IT or Admin and have them launch ExtendSim (in your user account) with the correct Admin permissions (once that happens, it won’t be required again).

If that doesn’t fix the problem, install ExtendSim again with your virus protection software temporarily disabled.

When ExtendSim launches it requires the loading of certain files and it expects that those files have been installed at specific locations. If needed files don’t have the correct permissions, or if ExtendSim can’t find the files, ExtendSim will not launch properly. End users must have physical (correct account) and permitted (read/write or full) access to the ExtendSim folder that contains user-modifiable files such as example models and libraries. In addition, so that ExtendSim will know where those needed files are located, the installer places a text file (ExtendSimDocPath.txt) in the Program Files/ExtendSim folder.

Error messageThe most common reasons why user-modifiable and other necessary files were not correctly installed are:

Someone from IT or an Admin installed the user-modifiable files in a folder under their account rather than in a folder accessible by the end user.

The folder containing user-modifiable files does not give the end user or ExtendSim the correct permissions.

The folder that contains user-modifiable files has been moved after installation, so ExtendSim is looking for files at the wrong location.

Error messageIf ExtendSim issues error messages such as “Documents folder not found” or “lp_solve[0] Error…system error code:2” as it tries to launch or gives a similar error message when end users try to open model or library files:

Verify that user-modifiable files such as examples and libraries are installed in a folder that is accessible by the end user (by default, the UserName/Documents/ExtendSim10 folder).

Check the folder permissions where user-modifiable files and extensions are installed. End users need read/write or full access to that folder, depending on its location, so they can open, run, and save models.

So ExtendSim can properly open needed files, right-click its icon and select Run as Administrator as you launch it.

If the user-modifiable files were moved after installation, modify the file ExtendSimDocPath.txt (located by default at Program Files/ExtendSim10) to indicate the new location.

In an ActiveX/COM client/server process, if a Client app tries to launch ExtendSim as a Server, you might get the error message Run-time error 429: ActiveX component can’t create object. This occurs when the operating system restricts ExtendSim from registering as an OLE/COM server.

For ExtendSim to be able to interface with Excel and other apps, launch ExtendSim with Administrative privileges so that it can complete the process of registering itself as an OLE/COM server. To do that, either right-click the ExtendSim application and select Run as Administrator. Or contact your IT or Admin and have them launch ExtendSim in your user account with the correct Admin permissions (once that happens, it won’t be required again).

After you have activated ExtendSim, the Activation Dialog should not appear again spontaneously. If it does appear, it could indicate that:

The license file (extendsim.lic) has been placed at the wrong location or has been deleted. Verify that the license file is in the ExtendSim folder that contains the user-modifiable files (libraries and example models); by default, that folder is UserName/Documents/ExtendSim10.

There is more than one installation of the same ExtendSim product on your device. For example, you may have downloaded a Trial version to use as the updater for an existing installation. To properly update the existing files, the Trial version must be installed using the exact same folder name and to the same location as the current installation. If that didn't happen, there will be two installations of the same ExtendSim product. The solution is to uninstall the Trial version and reinstall it over the existing installation so that it updates the ExtendSim 10 files.

In certain unusual cases, standard C runtime libraries that ExtendSim expects to find may be missing from your Windows operating system. In that case you will get the error message api-ms-crt-runtime dll is missing from the computer when you try to launch ExtendSim. In this case you need to update your Windows operating system with the Universal C Runtime (CRT) component. See Microsoft support for information.