Folks,
We are trying to integrate TX Text Control .NET into WinDev application. There is a license file associated with the TX Text Control (.licx extension file ). So when WinDev tries to load the control, it fails to load the license file and ends up in a exception.
Stack Trace: Error at line 2 of End of initialization of EXPRESS_TxtControl process. Error returned by .NET Framework: Exception has been thrown by the target of an invocation.
----- Technical Information -----
Project : EXPRESS_TxtEdtControl
WL call: Process of 'End of initialization of EXPRESS_TxtControl' (EXPRESS_TxtControl), line 2, thread 0
What happened? Error returned by .NET Framework: Exception has been thrown by the target of an invocation.
Error code: 200007 Level: fatal error
Dump of the error of 'wd230net4.dll' module (23.0.6.0). Identifier of detailed information (.err): 200007 Debugging information: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ComponentModel.LicenseException: The following control could not be licensed: TXTextControl.TextControl at ᜁ..GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) at System.ComponentModel.LicenseManager.Validate(Type type, Object instance) at TXTextControl.TextControl..ctor() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at CDotNetType.vpgcrInvokeConstructor(CDotNetType* , ConstructorInfo pclConstructorInfo, CSLevel* pclPile, Int32 nNbParamPile, STOperationDotNet* pstOperation) at CDotNetType.vpgcrInvokeConstructor(CDotNetType* , STMethodeDotNet* pstMethode, UInt32* pdwIdentifiant, CSLevel* pclPile, Int32 nNbParamPile, STOperationDotNet* pstOperation) at CDotNetInstance.bExecuteConstructeur(CDotNetInstance* , STMethodeDotNet* pstMethode, UInt32* pdwIdentifiant, CSLevel* pclPile, Int32 nNbParamPile, STOperationDotNet* pstOperation) Additional Information: EIT_PILEWL : End of initialization of EXPRESS_TxtControl (EXPRESS_TxtControl), line 2 EIT_DATEHEURE : 21/09/2018 16:29:04 EIT_TYPE_WDFILE : <2> EIT_IDCODE : <34>
How to handle this situation? How can we condifgure WinDev to load this license file? Any help is much appreciated.
Thanks in advance! Midhun |