I got a Single Developer + Runtime Free License (the license manager doesn't give any end date or version and id = multipurpose).
I updated to 5.31.1331 and the code (after some little changes) doesn't run because of this exception on initializing EasyDAClient.
System.TypeInitializationException occurred
HResult=-2146233036
Message=De type-initialisatiefunctie voor OpcLabs.EasyOpc.DataAccess.LicensingEasyDAClient heeft een uitzondering veroorzaakt.
Source=OpcLabs.EasyOpcClassicInternal
TypeName=OpcLabs.EasyOpc.DataAccess.LicensingEasyDAClient
StackTrace:
bij OpcLabs.EasyOpc.DataAccess.LicensingEasyDAClient..ctor(IEasyDAClient baseClient, IEasyDAClient instance)
bij OpcLabs.EasyOpc.DataAccess.EasyDAClient.UpdateBaseClient()
bij OpcLabs.EasyOpc.DataAccess.EasyDAClient.Construct()
bij OpcLabs.EasyOpc.DataAccess.EasyDAClient..ctor()
bij Griffid.DeviceDriver.GriffidDeviceDriver.OPCDataChannelDriver.StartLiveData(Int32 channel) in c:\Griffid\trunk\DeviceDriver\GriffidDeviceDriver\OPCDataChannelDriver.cs:regel 170
InnerException: System.NotImplementedException
HResult=-2147467263
Message=De methode of bewerking is niet geïmplementeerd.
Source=OpcLabs.BaseLibExtensions
StackTrace:
bij OpcLabs.BaseLib.Licensing.License.UpdateActivationData()
bij OpcLabs.BaseLib.Licensing.License.Unlock()
bij OpcLabs.BaseLib.Licensing.License.SetDefinitionStrings(String[] definitionStrings)
bij OpcLabs.BaseLib.Licensing.License.ReadRegistry(RegistryKey registryKey)
bij OpcLabs.BaseLib.Licensing.RegistryStore.GetLicense(String licenseId, License& license)
bij OpcLabs.BaseLib.Licensing.LicenseHandler.QueryLicenseList(String licenseId, List`1& licenseList)
bij OpcLabs.BaseLib.Licensing.LicenseHandler.ObtainLicense(String licenseId, LicensedEntityInformation licensedEntityInformation, Boolean verify, License& license)
bij OpcLabs.BaseLib.Licensing.LicenseHandler.ObtainVerifiedLicense(String licenseId, LicensedEntityInformation licensedEntityInformation, License& license)
bij OpcLabs.BaseLib.Licensing.LicensingRoot.ObtainLicenses(LicensedEntityInformation licensedEntityInformation)
bij OpcLabs.BaseLib.Licensing.LicensingRoot.InvokeLicense(String licenseId, LicensedEntityInformation licensedEntityInformation, License& license)
bij OpcLabs.BaseLib.Licensing.Licensing.ActivateLicense()
bij OpcLabs.EasyOpc.DataAccess.LicensingEasyDAClient..cctor()
InnerException:
As far as I can analyze the code the problem comes from License.cs
Function start.
protected void UpdateActivationData()
{
if (this.Version <= 3)
throw new NotImplementedException();
It seems that my license version is older or the same as 3 how can I update the license version (so not the product version but the version of the license) So I can run the code with the new version.