Faq have to reenter license code every time start

From Eigenvector Research Documentation Wiki
Revision as of 09:31, 11 June 2025 by Donal (talk | contribs) (→‎Preferred Solution)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Issue:

Why do I have to reenter my license code every time I start?

Possible Solutions:

Preferred Solution

This behavior is often caused by a preferences file getting into a state where it can't be written to. Deleting the file will cause it to be recreated and fix the problem. To locate the file:

Solo

  1. Open Solo and go to the "Help → About Solo" menu and note the "Preferences Path".
  2. Navigate to that folder in Windows Explorer and locate the "matlabprefs.mat" file there.
  3. DELETE that preferences file, then restart Solo.

PLS_Toolbox

  1. At the Matlab command line run the following command and locate your preferences folder:
    prefdir
  2. Depending on your system, locate either "matlabprefs.mat" or "preferences.mat" in the preferences folder and delete it.
  3. Restart Matlab.

Note for Windows users: If you can not see your Appdata folder:

The Matlab "prefdir" command and "About Solo" display a location path like: "C:\Users\username\AppData\Roaming\MathWorks\MATLAB\R2024b", where "username" is your user account name (or the first 5 characters of the email address when a Microsoft account is used). However, you may not see the "Appdata" folder present when you navigate to "C:\Users\username\" because Microsoft Windows by default hides some files and folders which they decided most users need not see, and the "Appdata" folder is one of these. To see this hidden folder you can change the Windows options to show hidden files and folders. Do this in a Windows Explorer window by clicking on the "..." toolbar icon shown at the top of that window, then select "Options" from the dropdown choices. When you are shown the "Folder Options" window then click on the "View" tab and then, under "Hidden files and folders", click on the "Show hidden files, folders, and drives" button to enable it, and then click on the "OK" button. You should now be able to see the "Appdata" folder listed in "C:\Users\username\" and continue navigating to the location indicated by the "prefdir" command. If this suggestion does not match your Microsoft Windows behavior then search online for "Show hidden files and folders, [include your windows version]" for directions as there may be variations and alternatives depending on the Microsoft Windows version.

Alternative Solution 1

In cases where the preferences file fix above does not solve the problem a license file can be created so the license code gets automatically used by the software.

Create a license file:

  • Obtain your license code from email or from your account on the Eigenvector website.
  • Open a text editor (Notepad) and paste just that code into the editor as a single line.
  • Save the file as evrilicense.lic (note, there should not be a .txt extension).

For Solo based products on Windows systems:

  • Place this file into one of the following locations:
  • For versions 9.0 and later place the file in a location similar to:
C:\Program Files\EVRI\Solo_90\application folder
  • For versions prior to 9.0 use the folder location:
C:\Program Files\EVRI\Solo\application\runtime\win64

For PLS_Toolbox based products:

  • Place this file in the utilities folder of your PLS_Toolbox installation.

The next time Solo/PLS_Toolbox is used it will automatically recognize the license file and you should not be prompted for a code.

Alternative Solution 2

In some cases the above solutions may not work completely. The matlabprefs.mat file also contains preferences set in Solo that will be lost if the file is deleted. The default location for Solo applications to "unpack" program files is similar to:

C:\Users\[username]\AppData\Local\Temp\[username]\mcrCache9.9\

Because this is a "temporary" folder, it can get purged to free up space (sometimes by restarting). You can specify a different folder to use for the MCR cache with an environment variable. On a Window machine this is done by:

  • Open the Start Search, type in "env", and choose "Edit the system environment variables"
  • Click the "Environment Variables…" button.
  • Add a new environment variable for the user named "MCR_CACHE_ROOT" with a location that won't be purged like the documents folder, for example "C:\Users\[username\Documents\Solo_MCR_Cache"
  • Save new environment variable and restart Solo.
  • Verify that a folder with a name similar to "mcrCache9.9" was created in the new folder.

Still having problems? Please contact our helpdesk at helpdesk@eigenvector.com