FAQ - HASP Key Support Issues
The key is plugged into the workstation and it is lit up, but CADSIM does not locate it.
For Windows Server 2003, 2008 (and newer) and Windows XP, Vista, Win7 (and newer):
Data Execution Prevention (DEP) may be turned on, on your computer or server, and it may be causing the key code to fail when it is looking for the key.
Try setting Computer > Properties > Advanced > Performance > Data Execution Prevention to "Windows Programs and Services Only" or disable DEP entirely (if possible - it is only enabled by default on Windows Server operating systems).
or, if you wish to leave DEP enabled for most programs,
Add C:\Program Files\Aurel Systems\CADSIM Plus\BIN\CSPlus.exe (or CSPlusR.exe) to the DEP exception list.
If your HASP parallel port key is very old (you received your original copy of CADSIM Plus software more than 10 years ago) CADSIM Plus may display an error saying that the key is not authorized to run this CADSIM Plus product. In this case, you should contact Aurel and arrange to have your key replaced with a new USB key.
If a CADSIM Plus USB key does not light up when it is plugged into your computer, then it is likely that the HASP device drivers are not installed or not working properly. This will result in an error message when CADSIM Plus is started:
Key serial No. xxxx not found. Please check your ports for the correct key.
One of the reasons that this may happen is that you are installing a legacy version of the CADSIM Plus software and the HASP device drivers cannot work with your current version of Windows. Consequently, you may need to obtain newer versions of the Sentinel/HASP device drivers from the Safenet/Gemalto support.
Sentinel/HASP device drivers are installed automatically as part of the CADSIM Plus installer. However, it is possible to install HASP device drivers manually.
- You must have administrative privileges to install Sentinel/HASP devices drivers, and HASP device drivers must be installed for CADSIM Plus (or the HASP License Manager for network installations) to run. That is the reason why the CADSIM Plus installer states that you require administrative privileges to install CADSIM Plus.
To install the HASP device driver, select Start > Run and then type HASPDINST /i and then click the OK button.
- HASPDINST.EXE is copied by default to the c:\Program Files (x86)\Aurel Systems\CADSIM Plus\BIN folder during CADSIM Plus installation. This folder has been added to the PATH for the current user on your computer when CADSIM Plus was installed.
- If you want to run HASPDINST.EXE from some other location, you may need to supply the entire PATH to HASPDINST.EXE, example: d:\tmp\HASPDINST.EXE
- Typing HASPDINST /? at the command prompt provides a detailed help screen.
- HASPDINST /info displays an information screen that confirms whether the device driver has been successfully installed.
- HASPDINST /r removes (uninstalls) the HASP device drivers.
CADSIM Plus searches your LAN to locate the HASP License Manager and the correct HASP key that will authorize the launch of your CADSIM Plus software. This search can take a long time (or even time-out) if your computer is attached to a large network. You may see one of the following messages from CADSIM Plus if it fails to find the License Manager or a valid network key:
Key serial No. xxxx not found. Please contact your System Administrator for more information
HASP License Manager not found. Please contact your System Administrator for more information
First, check with your IT support person to ensure that the key and HASP License Manager software have been installed and set up correctly and that there is no Windows firewall blocking access between the License Manager or CADSIM Plus and the key.
To speed up CADSIM Plus in locating the License Manager, place an edited copy of the NETHASP.INI file on each of the local CADSIM Plus client computers that will be accessing the network key. A good location for the NETHASP.INI file is the c:\Program Files(x86)\Aurel Systems\CADSIM Plus\Bin folder.
- The NETHASP.INI must be customized with the address of the server that is hosting the HASP License Manager and key. A number of examples of NETHASP.INI files can be found on the HASP License Manager CD (with the release of v3.1, this is included on the CADSIM Plus CD) in the NetHASP Example INI Files folder.
- Remember that you must update the NETHASP.INI file on each CADSIM Plus workstation, if the HASP License Manager and key are moved to another server.
- Old copies of NETHASP.INI file may remain after CADSIM Plus had been removed from a workstation. If CADSIM Plus is installed at a later date, the NETHASP.INI may still point to an old server location, causing CADSIM Plus to fail at startup.
For network key setup, please see the following documents on your CADSIM Plus product CD (prior to the release of CADSIM Plus v3.1, this was a separate HASP License Manager CD):
- README.TXT (located in the root of the HASP License Manager folder on the CADSIM Plus product CD)
- HASP HL Guide 1.30.pdf (also located in the HASP License Manager folder)
- Install the HASP License Manager software on your server. The software is located in the HASP License Manager folder on the CADSIM Plus product CD (prior to the release of CADSIM Plus v3.1, this was a separate HASP License Manager CD). Choose a version that is appropriate for your server's operating system.
- Note that in a peer-to-peer or workgroup Windows network, any PC can host the HASP License Manager software and key.
- Install the HASP Device Driver. This allows the HASP License Manager to talk to the HASP key. Note that this step may be handled by the License Manager installer (Win32). HASP device drivers are located in the HASP Device Drivers folder on the HASP License Manager CD. Note that you should install the driver before you plug in the USB versions of the HASP network key. HASP device drivers are also available from Safenet/Gemalto support.
- Connect the HASP network key and verify that the License Manager and key are working (the USB key should light up). Note that the HASP network key can also be used as a stand-alone key on any CADSIM Plus workstation.
- Test to see that the CADSIM Plus software successfully locates HASP License Manager and runs on the client computer(s). If it does not, or if it takes a long time to start up, you may need to add a customized copy of the NETHASP.INI file to each client computer. Note that the addition of the NETHASP.INI file may speed up the startup process because CADSIM Plus will not have to search your entire network for the License Manager.
- Windows Firewall can block the HASP License Manager. You may have to add the HASP License Manager software to any firewall exception lists on your server.