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 with 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 (most likely) that the ISV Server port is blocked in one or both directions. During the activation process, a high numeric port is randomly assigned as the ISV port. That port must be open on Client devices for outbound access so ExtendSim can request licenses from the License Manager on the Server. It must also be open for inbound access on the Server to allow internal communications between the Server files and so the License Manager can receive ExtendSim license requests. 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 (since a blocked ISV port could indicate an issue, plus the ISV port can change if the Server restarts) set a permanent unblocked 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:

By default, user-modifiable files (such as examples and libraries) are installed to the UserName\Documents\ExtendSim folder on the C drive. Early ExtendSim 10 releases did not work well if that ExtendSim folder was instead installed to some other drive, such as the D drive or to OneDrive. If that is your situation, update to the most current release.

When you install, you might need to right-click the installer icon and select Run as Administrator. (Even if you are the Administrator, you still might need to do this.)

Verify that the ExtendSim folder that contains user-modifiable files is installed in the end user's account (not an Administrator's account) and that the folder is accessible by the end user.

Check the  permissions for the ExtendSim folder that contains user-modifiable files. Depending on it's location, end users need read/write or full access to that folder so they can open, run, and save models.

So that it can properly open needed files, the first time you launch ExtendSim, right-click the application icon and select Run as Administrator. (Even if you are the Administrator, you might still need to do this the first time you launch ExtendSim.)

If the ExtendSim folder that contains user-modifiable files (such as examples and libraries) was properly installed to the end-user account, ExtendSim needs to be launched from that account, not from the Administrator's account.

So that ExtendSim will know where user-modifiable files are located, the installer places an ExtendSimDocPath.txt file at Program Files\ExtendSim. If the ExtendSim folder with user-modifiable files files was moved after installation, modify the file ExtendSimDocPath.txt file to indicate the new location.

When the operating system restricts ExtendSim from registering as an OLE/COM server, the following issues occur:

You get the error message Run-time error 429: ActiveX component can’t create object.

Excel might not appear in the list of applications in the Data Import Export block.

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, attempt to use someone else's license file, or copy over your license file with someone else's license.

Your anti-virus software, such as Norton 360, might have quarantined it and removed the extendsim.lic license file. If this happens, choose to "Restore an item from Quarantine" and exclude ExtendSim from being quarantined in the future.

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.

You have the same ExtendSim license installed on more than one device.

By default, you are only allowed to install and activate your ExtendSim license on one device. If you have the same ExtendSim license installed on two devices, ExtendSim will present the Activation Dialog again each time you switch devices. If this is the case, contact us to request a license change so you can activate ExtendSim on both devices.

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 is usually followed by a second message that indicates your license will be deactivated (revoked). The error is caused by one of these issues with the license file (extendsim.lic):

There is more than one installation of the same ExtendSim product on this device and the license file (extendsim.lic) doesn’t recognize the ExtendSim application that got launched as being the one that was activated. This happens if:

You used a Trial license as an updater, but it didn’t replace your existing ExtendSim files. Instead, it is a separate installation.

There is an installation of ExtendSim in your account on this device and also in the account of someone else, such as a colleague or an IT or Admin. (If you want multiple users on one device, you must purchase a Node-Locked license.)

You also installed ExtendSim to Microsoft OneDrive, or you have copied your installation files to OneDrive.

You were beta testing ExtendSim and didn’t properly uninstall your beta version.

Your device has been significantly altered such that the license's HostID 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.

The license file is not the correct one for your device. This happens if your license file was replaced by the license file for a different device, for example if you copied files (including the extendsim.lic file) from one device to another.

To fix:

If the issue was due to a duplicate installation, locate and uninstall those extra installations. Look in Windows Settings or Control Panel for ExtendSim and search Documents folders (including OneDrive). Then remove the duplicate installations.

If the issue is due to a reformatted or replaced hard drive, you will need to activate again. Restart ExtendSim and enter your Activation Key in the Activation Dialog. Activation will only be automatic if you have previously revoked the license; otherwise it will be manual.

If the issue occurred because your license was replaced by someone else’s license file, find your backup license file named extendsim.lic.bak (by default it should be in your Documents\ExtendSim10 folder). Then remove the .bak extension and restart ExtendSim. ExtendSim will be activated again using your original license file.

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.

If you are using a release prior to 10.0.5, please update to a newer release. If you can't update ExtendSim, you will need to force a manual activation. To do this, temporarily disconnect your device from the internet, launch ExtendSim, enter your activation information in the Activation Dialog, and click Next. ExtendSim will present a dialog so you can generate a text file for manual activation/reactivation. After the text file is generated (by default it will be placed at the top of your Documents folder), reconnect to the internet and email the text file to Sales@ExtendSim.com.

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.