Posted 10 September 2017, 12:22 pm EST
I have downloaded the file C1Licensing.exe (v2.0.20081.5) and placed correctly into the bin folder. I also have run the C1LiveUpdate utility beforehand to update the controls to their latest release versions, again in the bin directory - not installed in GAC.
When I then create a dummy application to Activate product and put in my Activation Key on the Activate Product popup, I get the error;
"An attempt was made to load a program with an incorrect format. (Exception from HRESULT : 0x8007000B)"
Debug Details;
"See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at C1LicensingSpace.c1sac.CheckProductKey(String A_0, UInt16 A_1, UInt16 A_2)
at C1LicensingSpace.f.d()
at C1LicensingSpace.d.g()
at C1LicensingSpace.b.b(String A_0, String A_1, String A_2)
at C1LicensingSpace.c.a(String A_0)
at C1LicensingSpace.c.b(String A_0)
at C1LicensingSpace.c.a(Object A_0, EventArgs A_1)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///E:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
C1Licensing
Assembly Version: 2.0.20081.5
Win32 Version: 2.0.20081.5
CodeBase: file:///E:/Program%20Files%20(x86)/ComponentOne%20Studio.NET%202.0/bin/C1Licensing.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box."
I am guessing that since my key is a renewal key it is longer than the normal key, is there a way around activating all products?
I did submit a support incident, but it is since gone down, so thought this would be the quickest way.
Many thanks,
Bjorn Ahlstedt