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.
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.
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. NOTE: it is not enough that you or an Admin/IT person are an Administrator for the device when installing, the ExtendSim installer must actually be run with elevated (Admin) privileges.
Once ExtendSim has been installed with Admin privileges, it won’t be required again.
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:
If you are having problems:
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.
Security features in Windows operating systems (especially since Windows 10), and virus protection applications in general, can sometimes interfere with installing or launching ExtendSim files. Security issues most often occur because:
If you are having security problems installing or launching:
To access DEP:
After you have activated ExtendSim, the Activation Dialog should not appear again spontaneously. When that does happen, the first instance was usually preceded by an error message. If there is only a backup license file (extendsim.lic.bak) in your Documents\ExtendSim folder, try removing the ".bak" and launch ExtendSim again. This will often cause the original error message to appear so you can send us a screenshot.
Below are the most common reasons an Activation Dialog would appear again after ExtendSim has been activated:
Our Support Team can help determine if any of these situations applies to your license.
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.
If ExtendSim fails on launch with Unknown message or fails when placing a block in a new model with the Unknown block message, it is probably due to a Windows security feature called Data Execution Prevention (DEP).
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.
Common situations that cause problems are:
If ExtendSim issues error messages such as “Documents folder not found”, “lp_solve[0] Error…system error code:2”, or "Unable to load DLL" as it tries to launch or gives a similar error message when end users try to open model or library files:
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.
When the operating system restricts ExtendSim from registering as an OLE/COM server, the following issues occur:
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).
This error message only occurs with a Floating or Cloud license.
If you get this error message, it means either:
This error message is usually followed by a second message that indicates your license will be deactivated (revoked). If deactivation is automatic, ExtendSim will launch after you quit and restart. If deactivation can't be accomplished automatically, you will need to do a manual deactivation. In either case, the issue will continue to happen until the original problem is resolved.
The error is caused by one of these issues with the license file (extendsim.lic):
To fix:
This 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 .
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 .
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 this error message and perhaps revoke the license.
The three most common reasons why the license file would suddenly not be accessible to ExtendSim are:
A -1 error message is very rare, but might appear after you have installed and activated an ExtendSim license. When you try to launch ExtendSim, instead of opening, it gives the License Problems message shown to the right.
After clicking OK on that message, you’ll get a second message that the license is being deactivated because it produced error conditions. Trying to activate the license again will not fix the problem.
The problem is the ExtendSim application cannot find its license file (extendsim.lic). The ExtendSim license file is installed by default in the Documents\ExtendSim folder. If there are any accented or special characters, such as a German umlaut, in the path to the license file, the -1 error message is triggered. For example C:\Users\Jürgen\Documents\ExtendSim would fail. The fix is to remove accented or special characters from names in the path.