Differences

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

Link to this comparison view

Next revision
Previous revision
general:license-key-error [2023/12/28 00:23] – created szhuge_go-ci.comgeneral:license-key-error [2024/05/23 19:30] (current) – ["Cannot load license key file"] szhuge_go-ci.com
Line 3: Line 3:
 If you are having difficulty loading a license key, and see an error mentioning **GAC_MSIL** or **EDM.License.dll**: If you are having difficulty loading a license key, and see an error mentioning **GAC_MSIL** or **EDM.License.dll**:
  
-Try going to "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\EDM.Licenseand removing all of the subfolders underneath.  Then re-install EDM and run EDM again.+Try going to ''C:\Windows\Microsoft.NET\assembly\GAC_MSIL\EDM.License'' and removing all of the subfolders underneath. 
 + 
 +Then re-install **EDMTestingSetup.exe** and re-open EDM
 + 
 +===== Where are my license keys located? ===== 
 + 
 +Note: the license keys for the installer are located under: 
 + 
 +`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.