I have a customer where we have installed our Cryptlex-enabled application of 5 separate PCs. All of these PCs are running Windows 10 with all updates applied. On 4 of the machines, everything is working fine. But on the 5th PC, when we try to start the application, it exits immediately with no error indication. I have created a simplified version of the application which is just a form with a button to verify the license status. Using a debug version of the application, the app throws an exception. The exception information is included at the bottom of this message.
Using DependencyWalker, I see that a number of dlls that LexActivator32 depends on cannot be found:
I am not sure what is missing on this PC. Have you seen this type of issue before?
<< Start of exception information>>
Information on how to invoke JIT (Just-In-Time) debugging instead of this window
is given at the bottom of the message.
************** Exception text **************
System.DllNotFoundException: Unable to load DLL ‘LexActivator32’: Unable to find the specified module. (Exception from HRESULT: 0x8007007E).
in Cryptlex.LexActivatorNative.SetProductData_x86(String productData).
in Cryptlex.LexActivator.SetProductData(String productData).
in ColorTrackLicense.SecurityChecks…ctor() in C:\MyProjects\ColorConsulting\ColorTrack\12.22Latest\CCS\CqsOffline\ColorTrackLicense\SecurityChecks.cs:line 78
in ColorTrackLicense.SecurityChecks.get_Instance() in C:\MyProjects\ColorConsulting\ColorTrack\12.22Latest\CCS\CqsOffline\ColorTrackLicense\SecurityChecks.cs:line 64
in LicenseChecker.Form1.button1_Click(Object sender, EventArgs e) in C:\MyProjects\ColorConsulting\ColorTrack\12.22Latest\CCS\LicenseChecker\Form1.cs:line 23
in System.Windows.Forms.Control.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ButtonBase.WndProc(Message& m)
in System.Windows.Forms.Button.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assembly loaded **************
mscorlib
Assembly version: 4.0.0.0
Win32 version: 4.8.4614.0 built by: NET48REL1LAST_B
Code base: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
LicenseChecker
Assembly version: 1.0.0.0
Win32 version: 1.0.0.0
Code base: file:///C:/temp/LicenseTest/LicenseChecker.exe
System.Windows.Forms
Assembly version: 4.0.0.0
Win32 version: 4.8.4550.0 built by: NET48REL1LAST_C
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly version: 4.0.0.0
Win32 version: 4.8.4605.0 built by: NET48REL1LAST_C
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly version: 4.0.0.0
Win32 version: 4.8.4390.0 built by: NET48REL1LAST_C
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly version: 4.0.0.0
Win32 version: 4.8.4190.0 built by: NET48REL1LAST_B
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core
Assembly version: 4.0.0.0
Win32 version: 4.8.4605.0 built by: NET48REL1LAST_C
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0__b77a5c561934e089/System.Core.dll
System.Xml
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0__b77a5c561934e089/System.Xml.dll
ColorTrackLicense
Assembly version: 12.23.5.1
Win32 version: 12.23.5.1
Code base: file:///C:/temp/LicenseTest/ColorTrackLicense.DLL
Cryptlex.LexActivator
Assembly version: 1.0.0.0
Win32 version: 1.0.0.0
Code base: file:///C:/temp/LicenseTest/Cryptlex.LexActivator.DLL
mscorlib.resources
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_en_b77a5c561934e089/mscorlib.resources.dll
System.Windows.Forms.resources
Assembly version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_en_b77a5c561934e089/System.Windows.Forms.resources.dll
************** Debug JIT **************
To enable JIT debugging, you need to set the value
jitDebugging in the system.windows.forms section of the configuration file
of the application or computer (machine.config).