Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
general:license-key-error [2024/04/17 20:15] szhuge_go-ci.comgeneral:license-key-error [2024/05/23 19:30] (current) – ["Cannot load license key file"] szhuge_go-ci.com
Line 7: Line 7:
 Then re-install **EDMTestingSetup.exe** and re-open EDM. Then re-install **EDMTestingSetup.exe** and re-open EDM.
  
-=== License Key location ===+===== Where are my license keys located? =====
  
 Note: the license keys for the installer are located under: Note: the license keys for the installer are located under:
  
 `C:\ProgramData\Crystal Instruments\EDMLicense` `C:\ProgramData\Crystal Instruments\EDMLicense`
 +
 +===== "Cannot load license key file" =====
 +
 +If you encounter the "Cannot load license key file" error in the installer, confirm the followings:
 +
 +  - Microsoft Visual C++ 2015-2022 Redistributable has been installed. (Check in Control Panel > Programs > Programs and features)
 +  - Check if there is no ''Common'' or ''EDM.License'' folder (located in ''C:\Windows\Microsoft.NET\assembly\GAC_MSIL\EDM.License'')
 +
 +If the above two conditions are true, try running .NET framework repair tool: [[https://www.microsoft.com/en-us/download/confirmation.aspx?id=30135]]
 +
 +===== Double-Click App Does Nothing =====
 +
 +Check ''Documents\EDMLog'', if you get this error:
 +
 +<code>
 +2024-05-23 12:22:06,646 ERROR - System.IO.FileNotFoundException: Could not load file or assembly 'EDM.License, Version=11.1.8.35, Culture=neutral, PublicKeyToken=e297f9ee8963e529' or one of its dependencies. The system cannot find the file specified.
 +File name: 'EDM.License, Version=11.1.8.35, Culture=neutral, PublicKeyToken=e297f9ee8963e529'
 +   at EDM.Startup.Startup.EnterpriseControl(StartupParameters sp, Process instance)
 +   at EDM.Startup.Startup.StartApp(StartupParameters sp)
 +
 +WRN: Assembly binding logging is turned OFF.
 +To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
 +Note: There is some performance penalty associated with assembly bind failure logging.
 +To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
 +</code>
 +
 +Then you may need to clear the EDM.License folder and reinstall.