Search
Issues when Installing or Launching ExtendSim

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 License Manager on the Server has either been moved or has not been installed and activated correctly.

Or that the ISV Server port is blocked. An unblocked ISV port is required so that the license files on the Server can communicate with each other. ISV ServerThe default ISV port is shown in the table when you click the Status command in the RLSA window. Either unblock the port listed in that table or (preferred as this will help prevent issues in the future) set a different port for the ISV as discussed in Changing the port for the ISV Server and in the document Frequently Asked Questions • Floating Licenses.

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.

Security features in Windows operating systems (especially since Windows 10), and virus protection applications in general, can sometimes interfere with automatically activating the license or installing and launching ExtendSim files. Security issues can occur because:

ExtendSim installs DLLs that need to be registered in the Windows Registry during installation and that can be perceived as a threat to the operating system.

The Activation Dialog needs to send and receive encrypted data through port 80 over the internet for automatic activation to occur. But security systems sometimes block that data transfer.

ExtendSim has an integrated complier, so it creates and executes compiled code from the DATA segments of memory when it runs. Security software can view this as malicious code.

If you are having problems:

1. Try running the installer and/or launching the application as Administrator.

2. Temporarily disable your virus protection software while activating the license or installing ExtendSim. Note that for Windows 10, Windows Defender acts as an anti-virus system as discussed below.

Some specific issues to be aware of include:

If you get a ComponentTransferData error when trying to install ExtendSim, it is usually because your security system is balking at ExtendSim trying to register the DLLs. Try running the installer as Administrator. Or temporarily turn off your anti-virus software, install ExtendSim, then turn the anti-virus app back on. Note that for Windows 10, the Windows Defender Security Center is part of the security system so you may need to change its settings.

If ExtendSim crashes on launch with Unknown message or crashes when placing a block in a new model with the Unknown block message, it is probably due to Windows DEP (Data Execution Prevention). DEP can interpret the ExtendSim compiler as malicious data, rather than legitimate code, and stop ExtendSim from properly running. A solution is to add ExtendSim to the list of programs that allow for Data Execution. Contact Imagine That Inc. for information on how to do that.

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 automatic license activation or the installation or launching of ExtendSim. You might need to change the settings or allow the ExtendSim installer to be excluded in the Windows Defender Security.

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.

Error messageWhen 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.Error message

Common situations that cause problems 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. Or, they tried to launch ExtendSim from their own account.

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.

If 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:

If user-modifiable files were properly installed to the end-user account, ExtendSim needs to be launched from that account, not from the Administrator's account.

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\ExtendSim 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.

So that ExtendSim will know where user-modifiable files are located, the installer places an ExtendSimDocPath.txt file at Program Files\ExtendSim. If those files were moved after installation, modify the file ExtendSimDocPath.txt file 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 moved, deleted, renamed, modified, or replaced by someone else's license file:

The license file should be located in the ExtendSim folder that contains the user-modifiable files (libraries and example models); by default, that folder is UserName\Documents\ExtendSim.

There should only be one .lic file in that ExtendSim folder and it must be named extendsim.lic.

Each license file is signed as being specific to the Activation Key that was used and the device that ExtendSim was activated on. Do not modify the license file or attempt to use someone else's license file.

There is more than one installation of the same ExtendSim product on your device.

Someone else may have installed the same ExtendSim product on this device. For example, maybe an Admin installed an Individual license of ExtendSim to their account and you installed the same license to your account. In this case, the Documents folders for those accounts will each have an ExtendSim folder. The solution is to uninstall ExtendSim from all duplicate locations. (If you want multiple users on one device, you must purchase a Node-Locked license.)

You may have improperly installed a Trial version when using it to update ExtendSim. When using ExtendSim 10.0.3 or earlier, to update 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 ExtendSim10 product, as indicated in your Documents folder. The solution is to uninstall the Trial version and reinstall it over the existing installation so that it updates the ExtendSim 10 files. If you are using 10.0.4 or later, use the Updater to update to the latest release.

The license is no longer valid. For example:

A Student version license has been revoked and reinstalled too many times.

An ExtendSim product has an expiration date that has now passed.

Our Support Team can help determine if either situation applies to your license.

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.

Wrong host error messageThis error message indicates that there is an issue between an Individual license of ExtendSim and the HostID. The HostID is an identifier in the ExtendSim license file (extendsim.lic) that contains information about your computer as well as the ExtendSim installation.

This error is most often caused by one of the following:

Your computer’s system has been significantly altered such that the HostID’s information is no longer valid.

This is common if the hard drive has been replaced or the computer was wiped clean prior to installing a new operating system.

Quit ExtendSim and delete the extendsim.lic file; by default it will be located at Documents\ExtendSim.

Reactivate your license by launching ExtendSim and entering your Activation Key in the Activation Dialog. Activation will either be automatic or manual. If you get a message that the license has already been activated, please contact sales@ExtendSim.com.

If you get the manual activation window, click the button to generate an ExtendSim Activation Info.txt file and email it to Sales@ExtendSim.com. We will email you a new license file.

You have a second copy of the same ExtendSim product installed on your computer. When you launch ExtendSim, the HostID doesn't recognize that ExtendSim application as the one that was activated.

Usually this happens if you downloaded a Trial version of ExtendSim to update your existing license, but instead of replacing the existing files you installed a new set of files in a different location or under a different name.

Search your computer to see where the duplicate installation is located. Then uninstall any duplicate ExtendSim installations and delete the duplicate ExtendSim folders (installed by default in Program Files and Documents).

Reactivate your license by launching ExtendSim and entering your Activation Key in the Activation Dialog. Activation will either be automatic or manual. If you get a message that the license has already been activated, please contact sales@ExtendSim.com.

If you get the manual activation window, click the button to generate an ExtendSim Activation Info.txt file and email it to Sales@ExtendSim.com. We will send you a new license file.

Then, you can re-try updating ExtendSim to a newer release.

• If you're using ExtendSim 10.0.4 or newer, use the ExtendSim Updater to update to the latest release.

• For releases prior to 10.0.4, you must use the Trial version of ExtendSim to update to the current release. Be sure to install the Trial version using the exact same folder name and to the exact same location as your existing installation.

Bad HTTP transactionThis usually means that the license for ExtendSim was successfully activated or deactivated in our online activation database, but the message the database returned (an encrypted text file) got blocked by your system.

When this happens, manual activation is required. If you have ExtendSim 10.0.5 or later, click the button to generate a text file (ExtendSim Activation Info.txt). Email the text file to Sales@ExtendSim.com. For releases prior to 10.0.5, contact Sales@ExtendSim.com for instructions.

When an Individual license of ExtendSim is activated, it creates a license file (extendsim.lic) that is stored by default in the end user's Documents\ExtendSim folder. If that license file becomes inaccessible, ExtendSim will not launch but will instead give an error message. The two most common reasons why the license file would suddenly not be accessible to ExtendSim are:

The license file got deleted. This can happen if the device is "swept" and any files that were created after installation get removed. The fix is to set the sweep such that it does not remove any .lic files.

The license file was modified, such as being changed to "extendsim.lic.bak". This can happen if the ExtendSim folder containing the license file was stored in the cloud (for example, on OneDrive) and then used to replace the ExtendSim folder on a device for another license. There is no need to store the files that ship with ExtendSim in the cloud. For OneDrive, you can exclude the license file or the ExtendSim folder from being synced with your device.