ZEMAX Users' Knowledge Base - http://www.zemax.com/kb
What to do when ZEMAX will not run
http://www.zemax.com/kb/articles/35/1/What-to-do-when-ZEMAX-will-not-run/Page1.html
By Mark Nicholson
Published on 31 October 2007
 

This article explains:

  • What to do if ZEMAX asks you for a license code when you run the program
  • What to do if ZEMAX cannot find your hardware key when you run the program

Troubleshooting your ZEMAX installation
Under the vast majority of circumstances, ZEMAX will run without any troubleshooting required at all. In rare circumstances, however, you may find that ZEMAX issues an error message or requests that you enter a license code when you attempt to run the software. 

This article assumes that you have already installed the Sentinel key driver and the latest ZEMAX Update from the downloads page. If you have not installed these files, please do so before continuing. The Knowledge Base article "How to install ZEMAX for the first time" can assist you in this process.


ZEMAX Asks for a License Code
License codes are required in order to run ZEMAX. Each ZEMAX key has a unique license code for each update of ZEMAX that is released. Under normal circumstances, each new ZEMAX Update download will automatically include license codes for all ZEMAX keys that have current support.

If your key is not eligible to run the current version, or you have only recently renewed your support and your license code is not included in the downloaded installer, you will see a dialog box like so:

License code window showing key serial number

If you see this dialog box, your copy of ZEMAX is correctly installed, and the key driver is working properly, but you do not have a license code that allows ZEMAX to run with the key that is plugged in. Take a screenshot of this dialog box (use Alt-Print_Screen) and paste it into an email to support@zemax.com .

Please do not phone for a license code! License codes are complex multi-character strings and cannot be reliably given over the phone. Emailing the screenshot of the dialog box to us is the quickest, most error-free way of getting your license code quickly.


Hardware Key Problems
If you ever see one of the following error messages when you try to run ZEMAX then there is either an installation error, or a hardware problem with either the key or the computer.
 
 Error message indicating that key security has failed
This is a hardware key error, the key must be returned for replacement. No troubleshooting is possible.

 


The key is an obsolete, no longer supported type. The key must be returned for replacement. No troubleshooting is possible.
 
 Error message indicating that ZEMAX cannot find hardware key
This may be software or hardware related, see below.

Make sure your key is plugged in!

The 'Key security failed' error , and 'Key is obsolete' error, are  fatal errors. No troubleshooting is possible. The key has failed, or is no longer supported, and must be returned for replacement. The replacement key will be a USB key. See this article for return instructions.

If you are getting the 'cannot find ZEMAX key, the driver may not be installed' error, there is either a driver installation error, or a hardware problem with either the key or the computer. We first assume that the problem is not hardware related, and that the key driver installation is faulty or corrupt in some way. Follow these steps:

  1. Log onto the machine with a user account with Administrator privileges.
  2. Remove your hardware key from the computer, and also remove the hardware keys of any other software that uses hardware key license activation.
  3. Visit the downloads page, and download and run the key driver cleanup utility for your version of Windows. This will remove the existing key driver, and will require a reboot of the machine.
  4. Visit the downloads page, and download and run Sentinel Protection Installer. It is essential that you use the version on the downloads page, and not any previous version.
  5. When the installer completes, plug in your key, and run ZEMAX again.

If you continue to get the 'Cannot find ZEMAX key' after uninstalling and reinstalling the latest version of the driver, then either there is a hardware fault with the key, or with your computer's hardware.

The easy way to identify where the problem lies is to install ZEMAX and the key driver on a second machine. If the key cannot be found on either machine, the key is faulty and should be returned for replacement.

If ZEMAX finds the key on the second machine but not the first, there is a machine-specific issue. ZEMAX support cannot help diagnose hardware problems on your computer.

Although ZEMAX support cannot help you diagnose hardware problems on your computer, here is a list of issues we have encountered before that may be helpful:

  • Power management software may turn the power to USB or parallel ports off. Power management software usually defines a computer as being 'in use' when the keyboard and mouse are being used. During long calculations, power management software sometimes concludes that the computer is not in use, and so shuts down power to the USB and parallel ports, makes the processor run at a slower clock speed, turns off power to the hard drives etc. All these can cause unexpected problems when running any computationally intensive application. We recommend power management software be either correctly configured or turned off.
  • Your computer's BIOS may have USB and/or parallel port operation turned off.
  • Over-zealous systems administrators may lock computers down so tightly that they are useless. ZEMAX must be allowed to access the USB ports, and have read/write and modify privileges for its own folders and any others it is required to read and write data to.