Question

I am having trouble launching my OrCAD applications. Each time I try to launch an application, I get an error message that states there is not a valid license file at the license.dat server. 

 

I downloaded and installed the products and license as I was told to, but it's still not working. I am attaching a screen capture of the error message below. I am also sending you a copy of my debug.log file and license.dat file that is saved in my License Manager folder. Can you help me with this please?

 

 

Solution

The error message, "valid license not found," typically indicates that there is an issue with the configuration of your environment variables.


An environment variable is a dynamic value your operating system and software applications use to identify information needed to successfully run an application on your computer. There are two types of environment variables: system and user. Examples of user environment variables are %homepath% and %data% where the directory folder for each variable identifies a folder that archives user-specific information or user data respectively.

 

To resolve an issue with the configuration of an environment variable, complete the steps that follow.  

  1. Identify the hostname of the PC where your license files are archived. 
    1. Press your keyboard Windows key to open the Windows search input field.

    2. Type cmd into the input field and then press your keyboard Enter key. This opens the Command Prompt window.



    3. Type hostname into the command line, then press your keyboard Enter key.

    4. Note the hostname that is returned. You will need to reference this hostname in steps 7 and 11 that follow.

  2. Press your keyboard Windows key to open the Windows search input field.  
     
  3. Type “Edit the system environment variables” into the input field and press your keyboard Enter key. This opens the System Properties dialog.



  4. Click the Environment Variables button. This opens the Environment Variables dialog.



  5. Under “System variables”, click to highlight the variable CDS_LIC_FILE if it exists.
     
  6. Click the Edit button to open the Edit System Variable dialog.
     
  7. Modify the “Variable value” field so that it only says 5280@<hostname> where <hostname> is the hostname you retrieved in step 1.
     
  8. Click the OK button to save your entry and return to the Environment Variables dialog.
     
  9. Under “User variables”, click to highlight the CDS_LIC_FILE variable if it exists.



  10. Click the Edit button.

  11. Change the “Variable value” field so that it only says 5280@<hostname>, where hostname is the value you identified in step 1 above.

  12. Click the OK button to save your changes and close the open dialogs.

  13. Reboot your system and the relaunch your OrCAD product to verify the success of the new system settings.